Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of the governance module name. // It should match the module name of the cosmossdk.io/x/gov module. ModuleName = "gov" FlagDeposit = "deposit" FlagMetadata = "metadata" FlagTitle = "title" FlagSummary = "summary" FlagExpedited = "expedited" )
Variables ¶
This section is empty.
Functions ¶
func AddGovPropFlagsToCmd ¶
AddGovPropFlagsToCmd adds governance proposal flags to the provided command.
func ReadGovPropCmdFlags ¶
ReadGovPropCmdFlags parses a MsgSubmitProposal from the provided context and flags.
func SetGovMsgs ¶
func SetGovMsgs(proposal *govv1.MsgSubmitProposal, msgs ...gogoproto.Message) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.