cli

package
v0.0.0-...-7c30539 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 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   = "time"
	FlagUpgradeInfo   = "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