Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proposer ¶
type Proposer struct { ProposalID uint64 `json:"proposal_id" yaml:"proposal_id"` Proposer string `json:"proposer" yaml:"proposer"` }
Proposer contains metadata of a governance proposal used for querying a proposer.
func NewProposer ¶
NewProposer returns a new Proposer given id and proposer
func QueryProposer ¶
func QueryProposer(cliCtx context.CLIContext, proposalID uint64) (Proposer, error)
QueryProposer will query for a proposer of a governance proposal by ID.
Click to show internal directories.
Click to hide internal directories.