Namespace: staking
@shareledgerjs/client.staking
Interfaces
- AminoMsgBeginRedelegate
- AminoMsgCreateValidator
- AminoMsgDelegate
- AminoMsgEditValidator
- AminoMsgUndelegate
- MsgBeginRedelegateEncodeObject
- MsgCreateValidatorEncodeObject
- MsgDelegateEncodeObject
- MsgEditValidatorEncodeObject
- MsgUndelegateEncodeObject
- StakingQueryExtension
- StakingQueryExtensionMethods
- StakingTxExtension
- StakingTxExtensionMethods
Type Aliases
BondStatusString
Ƭ BondStatusString: keyof Pick
<typeof BondStatus
, "BOND_STATUS_BONDED"
| "BOND_STATUS_UNBONDED"
| "BOND_STATUS_UNBONDING"
> | ""
StakingExtension
Ƭ StakingExtension: StakingQueryExtension
& StakingTxExtension
StakingExtensionMethods
Ƭ StakingExtensionMethods: StakingQueryExtensionMethods
& StakingTxExtensionMethods
Functions
StakingExtension
▸ StakingExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & StakingQueryExtension & StakingTxExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
StakingQueryExtension
▸ StakingQueryExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & StakingQueryExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
StakingTxExtension
▸ StakingTxExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & StakingTxExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
createStakingActions
▸ createStakingActions(): Record
<string
, string
>
Returns
Record
<string
, string
>
createStakingAminoConverters
▸ createStakingAminoConverters(prefix
): Record
<string
, AminoConverter
| "not_supported_by_chain"
>
Parameters
Name | Type |
---|---|
prefix | string |
Returns
Record
<string
, AminoConverter
| "not_supported_by_chain"
>
createStakingTypes
▸ createStakingTypes(): ReadonlyArray
<[string
, GeneratedType
]>
Returns
ReadonlyArray
<[string
, GeneratedType
]>
isAminoMsgBeginRedelegate
▸ isAminoMsgBeginRedelegate(msg
): msg is AminoMsgBeginRedelegate
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgBeginRedelegate
isAminoMsgCreateValidator
▸ isAminoMsgCreateValidator(msg
): msg is AminoMsgCreateValidator
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgCreateValidator
isAminoMsgDelegate
▸ isAminoMsgDelegate(msg
): msg is AminoMsgDelegate
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgDelegate
isAminoMsgEditValidator
▸ isAminoMsgEditValidator(msg
): msg is AminoMsgEditValidator
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgEditValidator
isAminoMsgUndelegate
▸ isAminoMsgUndelegate(msg
): msg is AminoMsgUndelegate
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgUndelegate
isMsgBeginRedelegateEncodeObject
▸ isMsgBeginRedelegateEncodeObject(encodeObject
): encodeObject is MsgBeginRedelegateEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgBeginRedelegateEncodeObject
isMsgCreateValidatorEncodeObject
▸ isMsgCreateValidatorEncodeObject(encodeObject
): encodeObject is MsgCreateValidatorEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgCreateValidatorEncodeObject
isMsgDelegateEncodeObject
▸ isMsgDelegateEncodeObject(encodeObject
): encodeObject is MsgDelegateEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgDelegateEncodeObject
isMsgEditValidatorEncodeObject
▸ isMsgEditValidatorEncodeObject(encodeObject
): encodeObject is MsgEditValidatorEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgEditValidatorEncodeObject
isMsgUndelegateEncodeObject
▸ isMsgUndelegateEncodeObject(encodeObject
): encodeObject is MsgUndelegateEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgUndelegateEncodeObject