cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 14 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

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

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

func GetCmdSubmitUpgradeProposal

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

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.

Jump to

Keyboard shortcuts

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