cli

package
v0.17.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

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

func GetGovCmdSubmitProposal() *cobra.Command

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

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

func MustGetExampleCommitteeChangeProposal

func MustGetExampleCommitteeChangeProposal(cdc codec.Codec) string

MustGetExampleCommitteeChangeProposal is a helper function to return an example json proposal

func MustGetExampleCommitteeDeleteProposal

func MustGetExampleCommitteeDeleteProposal(cdc codec.Codec) string

MustGetExampleCommitteeDeleteProposal is a helper function to return an example json proposal

func MustGetExampleParameterChangeProposal

func MustGetExampleParameterChangeProposal(cdc codec.Codec) string

MustGetExampleParameterChangeProposal is a helper function to return an example json proposal

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL