cli

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 13 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 GetAppliedHeightCmd

func GetAppliedHeightCmd(storeName string, cdc *codec.Codec) *cobra.Command

GetAppliedHeightCmd returns the height at which a completed upgrade was applied

func GetCmdSubmitCancelUpgradeProposal added in v0.1.3

func GetCmdSubmitCancelUpgradeProposal(cdc *codec.Codec) *cobra.Command

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

func GetCmdSubmitUpgradeProposal added in v0.1.3

func GetCmdSubmitUpgradeProposal(cdc *codec.Codec) *cobra.Command

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

func GetPlanCmd

func GetPlanCmd(storeName string, cdc *codec.Codec) *cobra.Command

GetPlanCmd returns the query upgrade plan command

Types

This section is empty.

Jump to

Keyboard shortcuts

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