Documentation ¶
Index ¶
- Constants
- func GetAppliedHeightCmd(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdSubmitCancelUpgradeProposal(cdc *codec.Codec) *cobra.Command
- func GetCmdSubmitUpgradeProposal(cdc *codec.Codec) *cobra.Command
- func GetPlanCmd(storeName string, cdc *codec.Codec) *cobra.Command
- func NewCmdSubmitCancelUpgradeProposal(m codec.Marshaler, txg tx.Generator, ar tx.AccountRetriever, ...) *cobra.Command
- func NewCmdSubmitUpgradeProposal(m codec.Marshaler, txg tx.Generator, ar tx.AccountRetriever, ...) *cobra.Command
Constants ¶
View Source
const ( // TimeFormat specifies ISO UTC format for submitting the time for a new upgrade proposal TimeFormat = "2006-01-02T15:04:05Z" FlagUpgradeHeight = "upgrade-height" FlagUpgradeTime = "time" FlagUpgradeInfo = "info" )
Variables ¶
This section is empty.
Functions ¶
func GetAppliedHeightCmd ¶
GetAppliedHeightCmd returns the height at which a completed upgrade was applied
func GetCmdSubmitCancelUpgradeProposal ¶
GetCmdSubmitCancelUpgradeProposal implements a command handler for submitting a software upgrade cancel proposal transaction.
func GetCmdSubmitUpgradeProposal ¶
GetCmdSubmitUpgradeProposal implements a command handler for submitting a software upgrade proposal transaction.
func GetPlanCmd ¶
GetPlanCmd returns the query upgrade plan command
func NewCmdSubmitCancelUpgradeProposal ¶
func NewCmdSubmitCancelUpgradeProposal( m codec.Marshaler, txg tx.Generator, ar tx.AccountRetriever, newMsgFn func() gov.MsgSubmitProposalI) *cobra.Command
NewCmdSubmitCancelUpgradeProposal implements a command handler for submitting a software upgrade cancel proposal transaction.
func NewCmdSubmitUpgradeProposal ¶
func NewCmdSubmitUpgradeProposal( m codec.Marshaler, txg tx.Generator, ar tx.AccountRetriever, newMsgFn func() gov.MsgSubmitProposalI, ) *cobra.Command
NewCmdSubmitUpgradeProposal implements a command handler for submitting a software upgrade proposal transaction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.