package
Version:
v1.7.20
Opens a new window with list of versions in this module.
Published: Oct 17, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type MsgDepositParams struct {
ProposalId string `json:"proposalId"`
Depositor string `json:"depositor"`
Amount coin.Coins `json:"amount"`
}
type MsgSubmitProposalMsg struct {
Type string `mapstructure:"@type" json:"@type"`
}
type MsgSubmitProposalParams struct {
MaybeProposalId *string `json:"proposalId"`
Messages []interface{} `json:"messages"`
InitialDeposit coin.Coins `json:"initial_deposit"`
Proposer string `json:"proposer"`
Metadata string `json:"metadata"`
}
type MsgVoteParams struct {
ProposalId string `json:"proposalId"`
Voter string `json:"voter"`
Option string `json:"option"`
Metadata string `json:"metadata"`
}
type MsgVoteWeightedParams struct {
ProposalId string `json:"proposalId"`
Voter string `json:"voter"`
VoteOptions []VoteOption `json:"voteOptions"`
Metadata string `json:"metadata"`
}
type RawMsgSubmitProposal struct {
Type string `json:"@type"`
Messages []interface{} `json:"messages"`
Proposer string `json:"proposer"`
InitialDeposit []interface{} `mapstructure:"initial_deposit" json:"initial_deposit"`
Metadata string `json:"metadata"`
}
type RawMsgVoteWeight struct {
ProposalId string `json:"proposalId"`
Voter string `json:"voter"`
Options []VoteOption `json:"options"`
Metadata string `json:"metadata"`
}
type VoteOption struct {
Option string `json:"option"`
Weight string `json:"weight"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.