logo

Modules

Generated client implementations.

Generated client implementations.

Structs

Deposit defines an amount deposited by an account address to an active proposal.

DepositParams defines the params for deposits on governance proposals.

GenesisState defines the gov module’s genesis state.

MsgDeposit defines a message to submit a deposit to an existing proposal.

MsgDepositResponse defines the Msg/Deposit response type.

MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary proposal Content.

MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.

MsgVote defines a message to cast a vote.

MsgVoteResponse defines the Msg/Vote response type.

MsgVoteWeighted defines a message to cast a vote.

MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.

Proposal defines the core field members of a governance proposal.

QueryDepositRequest is the request type for the Query/Deposit RPC method.

QueryDepositResponse is the response type for the Query/Deposit RPC method.

QueryDepositsRequest is the request type for the Query/Deposits RPC method.

QueryDepositsResponse is the response type for the Query/Deposits RPC method.

QueryParamsRequest is the request type for the Query/Params RPC method.

QueryParamsResponse is the response type for the Query/Params RPC method.

QueryProposalRequest is the request type for the Query/Proposal RPC method.

QueryProposalResponse is the response type for the Query/Proposal RPC method.

QueryProposalsRequest is the request type for the Query/Proposals RPC method.

QueryProposalsResponse is the response type for the Query/Proposals RPC method.

QueryTallyResultRequest is the request type for the Query/Tally RPC method.

QueryTallyResultResponse is the response type for the Query/Tally RPC method.

QueryVoteRequest is the request type for the Query/Vote RPC method.

QueryVoteResponse is the response type for the Query/Vote RPC method.

QueryVotesRequest is the request type for the Query/Votes RPC method.

QueryVotesResponse is the response type for the Query/Votes RPC method.

TallyParams defines the params for tallying votes on governance proposals.

TallyResult defines a standard tally for a governance proposal.

TextProposal defines a standard text proposal whose changes need to be manually updated in case of approval.

Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option.

VotingParams defines the params for voting on governance proposals.

WeightedVoteOption defines a unit of vote for vote split.

Enums

ProposalStatus enumerates the valid statuses of a proposal.

VoteOption enumerates the valid vote options for a given governance proposal.