cli

package
v0.0.0-...-17765ca Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagTitle       = "title"
	FlagDescription = "description"
	FlagDeposit     = "deposit"

	FlagProposal = "proposal"
)

Proposal flags

Variables

This section is empty.

Functions

func GetCmdQueryParam

func GetCmdQueryParam(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryProposal implements the query proposal command.

func GetCmdQueryParams

func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryProposal implements the query proposal command.

func GetCmdQueryProposal

func GetCmdQueryProposal(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryProposal implements the query proposal command.

func GetCmdQueryProposals

func GetCmdQueryProposals(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryProposals implements a query proposals command.

func GetCmdQueryProposer

func GetCmdQueryProposer(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryProposer implements the query proposer command.

func GetCmdQueryTally

func GetCmdQueryTally(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryTally implements the command to query for proposal tally result.

func GetCmdVote

func GetCmdVote(cdc *codec.Codec) *cobra.Command

GetCmdVote implements creating a new vote command.

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd(storeKey string, cdc *codec.Codec, pcmds []*cobra.Command) *cobra.Command

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.

Jump to

Keyboard shortcuts

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