Documentation
¶
Index ¶
- Constants
- func GetCmdQueryProposal(storeName string, cdc *wire.Codec) *cobra.Command
- func GetCmdQueryProposalVote(storeName string, cdc *wire.Codec) *cobra.Command
- func GetCmdQueryProposalVotes(storeName string, cdc *wire.Codec) *cobra.Command
- func GetCmdQueryProposals(storeName string, cdc *wire.Codec) *cobra.Command
- func PostCmdPropose(cdc *wire.Codec) *cobra.Command
- func PostCmdVote(cdc *wire.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagDeposit = "deposit" FlagTitle = "title" FlagDescription = "description" FlagProposalID = "proposal-id" FlagOption = "option" FlagActiveProposal = "active" )
nolint
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryProposal ¶
GetCmdQueryProposal gets the command to get a single proposal
func GetCmdQueryProposalVote ¶
GetCmdQueryProposalVote gets the command to get a single vote from a proposal
func GetCmdQueryProposalVotes ¶
GetCmdQueryProposalVotes gets the command to get all the votes from a proposal
func GetCmdQueryProposals ¶
GetCmdQueryProposals gets the command to get all proposals
func PostCmdPropose ¶
PostCmdPropose gets the command to create proposals
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.