cli

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 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 added in v0.40.0

func GetAppliedPlanCmd() *cobra.Command

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

func GetCurrentPlanCmd added in v0.40.0

func GetCurrentPlanCmd() *cobra.Command

GetCurrentPlanCmd returns the query upgrade plan command.

func GetQueryCmd added in v0.40.0

func GetQueryCmd() *cobra.Command

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

func GetTxCmd added in v0.40.0

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