Version: v0.43.1 Latest Latest

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 14 Imported by: 0




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

	FlagProposal = "proposal"

Proposal flags


ProposalFlags defines the core required fields of a proposal. It is used to verify that these values are not provided in conjunction with a JSON proposal file.


func GetCmdQueryDeposit

func GetCmdQueryDeposit() *cobra.Command

GetCmdQueryDeposit implements the query proposal deposit command. Command to get a specific Deposit Information

func GetCmdQueryDeposits

func GetCmdQueryDeposits() *cobra.Command

GetCmdQueryDeposits implements the command to query for proposal deposits.

func GetCmdQueryParam added in v0.43.1

func GetCmdQueryParam() *cobra.Command

GetCmdQueryParam implements the query param command.

func GetCmdQueryParams added in v0.43.1

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query params command.

func GetCmdQueryProposal

func GetCmdQueryProposal() *cobra.Command

GetCmdQueryProposal implements the query proposal command.

func GetCmdQueryProposals

func GetCmdQueryProposals() *cobra.Command

GetCmdQueryProposals implements a query proposals command. Command to Get a Proposal Information.

func GetCmdQueryProposer added in v0.43.1

func GetCmdQueryProposer() *cobra.Command

GetCmdQueryProposer implements the query proposer command.

func GetCmdQueryTally

func GetCmdQueryTally() *cobra.Command

GetCmdQueryTally implements the command to query for proposal tally result.

func GetCmdQueryVote

func GetCmdQueryVote() *cobra.Command

GetCmdQueryVote implements the query proposal vote command. Command to Get a Proposal Information.

func GetCmdQueryVotes

func GetCmdQueryVotes() *cobra.Command

GetCmdQueryVotes implements the command to query for proposal votes.

func GetQueryCmd added in v0.43.1

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func NewCmdDeposit added in v0.43.1

func NewCmdDeposit() *cobra.Command

NewCmdDeposit implements depositing tokens for an active proposal.

func NewCmdSubmitProposal added in v0.43.1

func NewCmdSubmitProposal() *cobra.Command

NewCmdSubmitProposal implements submitting a proposal transaction command.

func NewCmdVote added in v0.43.1

func NewCmdVote() *cobra.Command

NewCmdVote implements creating a new vote command.

func NewCmdWeightedVote added in v0.43.1

func NewCmdWeightedVote() *cobra.Command

NewCmdWeightedVote implements creating a new weighted vote command.

func NewTxCmd added in v0.43.1

func NewTxCmd(propCmds []*cobra.Command) *cobra.Command

NewTxCmd 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).


This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL