Skip to main content

Namespace: gov

@shareledgerjs/client.gov

Enumerations

Interfaces

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

NameType
Textends (...args: any[]) => BaseClient & GovQueryExtension & GovTxExtension

Parameters

NameType
constructorT

Returns

T


GovQueryExtension

GovQueryExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & GovQueryExtension

Parameters

NameType
constructorT

Returns

T


GovTxExtension

GovTxExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & GovTxExtension

Parameters

NameType
constructorT

Returns

T


createGovActions

createGovActions(): Record<string, string>

Returns

Record<string, string>


createGovAminoConverters

createGovAminoConverters(prefix): Record<string, AminoConverter | "not_supported_by_chain">

Parameters

NameType
prefixstring

Returns

Record<string, AminoConverter | "not_supported_by_chain">


createGovTypes

createGovTypes(): ReadonlyArray<[string, GeneratedType]>

Returns

ReadonlyArray<[string, GeneratedType]>


isAminoMsgDeposit

isAminoMsgDeposit(msg): msg is AminoMsgDeposit

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgDeposit


isAminoMsgSubmitProposal

isAminoMsgSubmitProposal(msg): msg is AminoMsgSubmitProposal

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgSubmitProposal


isAminoMsgVote

isAminoMsgVote(msg): msg is AminoMsgVote

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgVote


isAminoMsgVoteWeighted

isAminoMsgVoteWeighted(msg): msg is AminoMsgVoteWeighted

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgVoteWeighted


isAminoTextProposal

isAminoTextProposal(msg): msg is AminoTextProposal

Parameters

NameType
msgAminoMsg

Returns

msg is AminoTextProposal


isMsgDepositEncodeObject

isMsgDepositEncodeObject(encodeObject): encodeObject is MsgDepositEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgDepositEncodeObject


isMsgSubmitProposalEncodeObject

isMsgSubmitProposalEncodeObject(encodeObject): encodeObject is MsgSubmitProposalEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgSubmitProposalEncodeObject


isMsgTextProposalEncodeObject

isMsgTextProposalEncodeObject(encodeObject): encodeObject is TextProposalEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is TextProposalEncodeObject


isMsgVoteEncodeObject

isMsgVoteEncodeObject(encodeObject): encodeObject is MsgVoteEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgVoteEncodeObject


isMsgVoteWeightedEncodeObject

isMsgVoteWeightedEncodeObject(encodeObject): encodeObject is MsgVoteWeightedEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgVoteWeightedEncodeObject