Documentation ¶
Index ¶
- Constants
- func GetGovCmdSubmitProposal() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func MustGetExampleCommitteeChangeProposal(cdc codec.Codec) string
- func MustGetExampleCommitteeDeleteProposal(cdc codec.Codec) string
- func MustGetExampleParameterChangeProposal(cdc codec.Codec) string
Constants ¶
View Source
const COMMITTEE_CHANGE_PROPOSAL_EXAMPLE = `` /* 463-byte string literal not displayed */
View Source
const COMMITTEE_DELETE_PROPOSAL_EXAMPLE = `
{
"title": "A Title",
"description": "A proposal description.",
"committee_id": "1"
}
`
View Source
const PARAMS_CHANGE_PROPOSAL_EXAMPLE = `` /* 131-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetGovCmdSubmitProposal ¶
GetGovCmdSubmitProposal returns a command to submit a proposal to the gov module. It is passed to the gov module for use on its command subtree.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func MustGetExampleCommitteeChangeProposal ¶
MustGetExampleCommitteeChangeProposal is a helper function to return an example json proposal
func MustGetExampleCommitteeDeleteProposal ¶
MustGetExampleCommitteeDeleteProposal is a helper function to return an example json proposal
func MustGetExampleParameterChangeProposal ¶
MustGetExampleParameterChangeProposal is a helper function to return an example json proposal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.