cosmos-sdk: Index | Files

package cli

import ""


Package Files

query.go tx.go


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"

func GetAppliedPlanCmd Uses

func GetAppliedPlanCmd() *cobra.Command

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

func GetCurrentPlanCmd Uses

func GetCurrentPlanCmd() *cobra.Command

GetCurrentPlanCmd returns the query upgrade plan command.

func GetQueryCmd Uses

func GetQueryCmd() *cobra.Command

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

func GetTxCmd Uses

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func NewCmdSubmitCancelUpgradeProposal Uses

func NewCmdSubmitCancelUpgradeProposal() *cobra.Command

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

func NewCmdSubmitUpgradeProposal Uses

func NewCmdSubmitUpgradeProposal() *cobra.Command

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

Package cli imports 11 packages (graph) and is imported by 2 packages. Updated 2020-08-13. Refresh now. Tools for package owners.