package
0.0.0-20220731021823-891b8cbd4160
Repository: https://github.com/carina-hackatom/nova.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
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_UNSPECIFIED defines the default proposal status.
PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
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.
VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
VOTE_OPTION_YES defines a yes vote option.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service.
Enum value maps for ProposalStatus.
Enum value maps for ProposalStatus.
Query_ServiceDesc is the grpc.ServiceDesc for Query service.
Enum value maps for VoteOption.
Enum value maps for VoteOption.

# 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.
UnimplementedMsgServer must be embedded to have forward compatible implementations.
UnimplementedQueryServer must be embedded to have forward compatible implementations.
Vote defines a vote on a governance proposal.
VotingParams defines the params for voting on governance proposals.
WeightedVoteOption defines a unit of vote for vote split.

# Interfaces

MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service.
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

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