Namespace: gov
Enumerations
Interfaces
- AminoMsgDeposit
- AminoMsgSubmitProposal
- AminoMsgVote
- AminoMsgVoteWeighted
- AminoTextProposal
- GovQueryExtension
- GovQueryExtensionMethods
- GovTxExtension
- GovTxExtensionMethods
- MsgDepositEncodeObject
- MsgSubmitProposalEncodeObject
- MsgVoteEncodeObject
- MsgVoteWeightedEncodeObject
- TextProposalEncodeObject
Type Aliases
GovExtension
Ƭ GovExtension: GovQueryExtension
& GovTxExtension
GovExtensionMethods
Ƭ GovExtensionMethods: GovQueryExtensionMethods
& GovTxExtensionMethods
GovParamsType
Ƭ GovParamsType: "deposit"
| "tallying"
| "voting"
GovProposalId
Ƭ GovProposalId: string
| number
| Long
| Uint64
Functions
GovExtension
▸ GovExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & GovQueryExtension & GovTxExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
GovQueryExtension
▸ GovQueryExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & GovQueryExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
GovTxExtension
▸ GovTxExtension<T
>(constructor
): T
Type parameters
Name | Type |
---|---|
T | extends (...args : any []) => BaseClient & GovTxExtension |
Parameters
Name | Type |
---|---|
constructor | T |
Returns
T
createGovActions
▸ createGovActions(): Record
<string
, string
>
Returns
Record
<string
, string
>
createGovAminoConverters
▸ createGovAminoConverters(prefix
): Record
<string
, AminoConverter
| "not_supported_by_chain"
>
Parameters
Name | Type |
---|---|
prefix | string |
Returns
Record
<string
, AminoConverter
| "not_supported_by_chain"
>
createGovTypes
▸ createGovTypes(): ReadonlyArray
<[string
, GeneratedType
]>
Returns
ReadonlyArray
<[string
, GeneratedType
]>
isAminoMsgDeposit
▸ isAminoMsgDeposit(msg
): msg is AminoMsgDeposit
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgDeposit
isAminoMsgSubmitProposal
▸ isAminoMsgSubmitProposal(msg
): msg is AminoMsgSubmitProposal
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgSubmitProposal
isAminoMsgVote
▸ isAminoMsgVote(msg
): msg is AminoMsgVote
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgVote
isAminoMsgVoteWeighted
▸ isAminoMsgVoteWeighted(msg
): msg is AminoMsgVoteWeighted
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoMsgVoteWeighted
isAminoTextProposal
▸ isAminoTextProposal(msg
): msg is AminoTextProposal
Parameters
Name | Type |
---|---|
msg | AminoMsg |
Returns
msg is AminoTextProposal
isMsgDepositEncodeObject
▸ isMsgDepositEncodeObject(encodeObject
): encodeObject is MsgDepositEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgDepositEncodeObject
isMsgSubmitProposalEncodeObject
▸ isMsgSubmitProposalEncodeObject(encodeObject
): encodeObject is MsgSubmitProposalEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgSubmitProposalEncodeObject
isMsgTextProposalEncodeObject
▸ isMsgTextProposalEncodeObject(encodeObject
): encodeObject is TextProposalEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is TextProposalEncodeObject
isMsgVoteEncodeObject
▸ isMsgVoteEncodeObject(encodeObject
): encodeObject is MsgVoteEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgVoteEncodeObject
isMsgVoteWeightedEncodeObject
▸ isMsgVoteWeightedEncodeObject(encodeObject
): encodeObject is MsgVoteWeightedEncodeObject
Parameters
Name | Type |
---|---|
encodeObject | EncodeObject |
Returns
encodeObject is MsgVoteWeightedEncodeObject