Documentation ¶
Index ¶
- Constants
- func GetCmdQueryParam(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryProposal(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryProposals(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryProposer(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryTally(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdVote(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec, pcmds []*cobra.Command) *cobra.Command
Constants ¶
const ( FlagTitle = "title" FlagDescription = "description" FlagDeposit = "deposit" FlagProposal = "proposal" )
Proposal flags
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryParam ¶ added in v0.16.0
GetCmdQueryProposal implements the query proposal command.
func GetCmdQueryParams ¶ added in v0.16.0
GetCmdQueryProposal implements the query proposal command.
func GetCmdQueryProposal ¶ added in v0.16.0
GetCmdQueryProposal implements the query proposal command.
func GetCmdQueryProposals ¶ added in v0.16.0
GetCmdQueryProposals implements a query proposals command.
func GetCmdQueryProposer ¶ added in v0.16.0
GetCmdQueryProposer implements the query proposer command.
func GetCmdQueryTally ¶ added in v0.16.0
GetCmdQueryTally implements the command to query for proposal tally result.
func GetCmdVote ¶ added in v0.16.0
GetCmdVote implements creating a new vote command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetTxCmd ¶
GetTxCmd returns the transaction commands for this module governance ModuleClient is slightly different from other ModuleClients in that it contains a slice of "proposal" child commands. These commands are respective to proposal type handlers that are implemented in other modules but are mounted under the governance CLI (eg. parameter change proposals).
Types ¶
This section is empty.