Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the bank Msg service.
SubmitProposal defines a method to create new proposal given a content.
MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary proposal Content.
MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.
Vote defines a method to add a vote on a specific proposal.
MsgVote defines a message to cast a vote.
MsgVoteResponse defines the Msg/Vote response type.
(message has no fields)
VoteWeighted defines a method to add a weighted vote on a specific proposal. Since: cosmos-sdk 0.43
MsgVoteWeighted defines a message to cast a vote. Since: cosmos-sdk 0.43
MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. Since: cosmos-sdk 0.43
(message has no fields)
Deposit defines a method to add deposit on a specific proposal.
MsgDeposit defines a message to submit a deposit to an existing proposal.
MsgDepositResponse defines the Msg/Deposit response type.
(message has no fields)
Query defines the gRPC querier service for gov module
Proposal queries proposal details based on ProposalID.
QueryProposalRequest is the request type for the Query/Proposal RPC method.
proposal_id defines the unique id of the proposal.
QueryProposalResponse is the response type for the Query/Proposal RPC method.
Proposals queries all proposals based on given status.
QueryProposalsRequest is the request type for the Query/Proposals RPC method.
proposal_status defines the status of the proposals.
voter defines the voter address for the proposals.
depositor defines the deposit addresses from the proposals.
pagination defines an optional pagination for the request.
QueryProposalsResponse is the response type for the Query/Proposals RPC method.
pagination defines the pagination in the response.
Vote queries voted information based on proposalID, voterAddr.
QueryVoteRequest is the request type for the Query/Vote RPC method.
proposal_id defines the unique id of the proposal.
voter defines the oter address for the proposals.
QueryVoteResponse is the response type for the Query/Vote RPC method.
vote defined the queried vote.
Votes queries votes of a given proposal.
QueryVotesRequest is the request type for the Query/Votes RPC method.
proposal_id defines the unique id of the proposal.
pagination defines an optional pagination for the request.
QueryVotesResponse is the response type for the Query/Votes RPC method.
votes defined the queried votes.
pagination defines the pagination in the response.
Params queries all parameters of the gov module.
QueryParamsRequest is the request type for the Query/Params RPC method.
params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".
QueryParamsResponse is the response type for the Query/Params RPC method.
voting_params defines the parameters related to voting.
deposit_params defines the parameters related to deposit.
tally_params defines the parameters related to tally.
Deposit queries single deposit information based proposalID, depositAddr.
QueryDepositRequest is the request type for the Query/Deposit RPC method.
proposal_id defines the unique id of the proposal.
depositor defines the deposit addresses from the proposals.
QueryDepositResponse is the response type for the Query/Deposit RPC method.
deposit defines the requested deposit.
Deposits queries all deposits of a single proposal.
QueryDepositsRequest is the request type for the Query/Deposits RPC method.
proposal_id defines the unique id of the proposal.
pagination defines an optional pagination for the request.
QueryDepositsResponse is the response type for the Query/Deposits RPC method.
pagination defines the pagination in the response.
TallyResult queries the tally of a proposal vote.
QueryTallyResultRequest is the request type for the Query/Tally RPC method.
proposal_id defines the unique id of the proposal.
QueryTallyResultResponse is the response type for the Query/Tally RPC method.
tally defines the requested tally.
Deposit defines an amount deposited by an account address to an active proposal.
Used in:
, ,DepositParams defines the params for deposits on governance proposals.
Used in:
,Minimum deposit for a proposal to enter voting period.
Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months.
GenesisState defines the gov module's genesis state.
starting_proposal_id is the ID of the starting proposal.
deposits defines all the deposits present at genesis.
votes defines all the votes present at genesis.
proposals defines all the proposals present at genesis.
params defines all the paramaters of related to deposit.
params defines all the paramaters of related to voting.
params defines all the paramaters of related to tally.
Proposal defines the core field members of a governance proposal.
Used in:
, ,ProposalStatus enumerates the valid statuses of a proposal.
Used in:
,PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
TallyParams defines the params for tallying votes on governance proposals.
Used in:
,Minimum percentage of total stake needed to vote for a result to be considered valid.
Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3.
TallyResult defines a standard tally for a governance proposal.
Used in:
,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.
Used in:
, ,Deprecated: Prefer to use `options` instead. This field is set in queries if and only if `len(options) == 1` and that option has weight 1. In all other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
Since: cosmos-sdk 0.43
VoteOption enumerates the valid vote options for a given governance proposal.
Used in:
, ,VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
VOTE_OPTION_YES defines a yes vote option.
VOTE_OPTION_ABSTAIN defines an abstain vote option.
VOTE_OPTION_NO defines a no vote option.
VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
VotingParams defines the params for voting on governance proposals.
Used in:
,Length of the voting period.
WeightedVoteOption defines a unit of vote for vote split. Since: cosmos-sdk 0.43
Used in:
,