Namespace: slashing
@shareledgerjs/client.slashing
Interfaces
- AminoMsgUnjail
- MsgUnjailEncodeObject
- SlashingQueryExtension
- SlashingQueryExtensionMethods
- SlashingTxExtension
- SlashingTxExtensionMethods
Type Aliases
SlashingExtension
Ƭ SlashingExtension: SlashingQueryExtension
& SlashingTxExtension
SlashingExtensionMethods
Ƭ SlashingExtensionMethods: SlashingQueryExtensionMethods
& SlashingTxExtensionMethods
Functions
SlashingExtension
▸ SlashingExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & SlashingQueryExtension & SlashingTxExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
SlashingQueryExtension
▸ SlashingQueryExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & SlashingQueryExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
SlashingTxExtension
▸ SlashingTxExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & SlashingTxExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
createSlashingActions
▸ createSlashingActions(): Record
<string
, string
>
Returns
Record
<string
, string
>
createSlashingAminoConverters
▸ createSlashingAminoConverters(prefix
): Record
<string
, AminoConverter
| "not_supported_by_chain"
>
Parameters
Name | Type |
---|---|
prefix | string |
Returns
Record
<string
, AminoConverter
| "not_supported_by_chain"
>
createSlashingTypes
▸ createSlashingTypes(): ReadonlyArray
<[string
, GeneratedType
]>
Returns
ReadonlyArray
<[string
, GeneratedType
]>
isAminoMsgUnjail
▸ isAminoMsgUnjail(msg
): msg is AminoMsgUnjail
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgUnjail
isMsgUnjailEncodeObject
▸ isMsgUnjailEncodeObject(encodeObject
): encodeObject is MsgUnjailEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgUnjailEncodeObject