cli

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdQueryParams

func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdQueryParams implements the query params command.

func GetCmdQueryUpgrade added in v1.7.0

func GetCmdQueryUpgrade(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdSubmitProposal

func GetCmdSubmitProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command

GetCmdSubmitProposal implements a command handler for submitting a parameter change proposal transaction

func GetCmdSubmitUpgradeProposal added in v1.7.0

func GetCmdSubmitUpgradeProposal(cdcP *codec.CodecProxy, _ interfacetypes.InterfaceRegistry) *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module

Types

type UpgradeProposalJSON added in v1.7.0

type UpgradeProposalJSON struct {
	Title       string       `json:"title" yaml:"title"`
	Description string       `json:"description" yaml:"description"`
	Deposit     sdk.SysCoins `json:"deposit" yaml:"deposit"`

	Name         string `json:"name" yaml:"name"`
	ExpectHeight uint64 `json:"expectHeight" yaml:"expectHeight"`
	Config       string `json:"config,omitempty" yaml:"config,omitempty"`
}

func ParseUpgradeProposalJSON added in v1.7.0

func ParseUpgradeProposalJSON(cdc *codec.Codec, proposalFile string) (UpgradeProposalJSON, error)

Jump to

Keyboard shortcuts

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