cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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   = "upgrade-time"
	FlagUpgradeInfo   = "upgrade-info"
)

Variables

This section is empty.

Functions

func GetAppliedPlanCmd

func GetAppliedPlanCmd() *cobra.Command

GetAppliedPlanCmd returns information about the block at which a completed upgrade was applied.

func GetCurrentPlanCmd

func GetCurrentPlanCmd() *cobra.Command

GetCurrentPlanCmd returns the query upgrade plan command.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the parent command for all x/upgrade CLi query commands.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func NewCmdSubmitCancelUpgradeProposal

func NewCmdSubmitCancelUpgradeProposal() *cobra.Command

NewCmdSubmitCancelUpgradeProposal implements a command handler for submitting a software upgrade cancel proposal transaction.

func NewCmdSubmitUpgradeProposal

func NewCmdSubmitUpgradeProposal() *cobra.Command

NewCmdSubmitUpgradeProposal implements a command handler for submitting a software upgrade proposal transaction.

Types

This section is empty.

Jump to

Keyboard shortcuts

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