cli

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdQueryUpgradeConfig

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

GetCmdQueryUpgradeConfig returns cmd for upgrade config query

func GetCmdQueryUpgradeFailedVersion

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

GetCmdQueryUpgradeFailedVersion returns cmd for upgrade failed version query

func GetCmdQueryUpgradeVersion

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

GetCmdQueryUpgradeVersion returns cmd for upgrade version query

func GetCmdSubmitProposal

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

GetCmdSubmitProposal implements a command handler for submitting a dex list proposal transaction

func GetQueryCmd

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

GetQueryCmd returns the cli query commands for this module

Types

type UpgradeProposalJSON

type UpgradeProposalJSON struct {
	Title              string                   `json:"title" yaml:"title"`
	Description        string                   `json:"description" yaml:"description"`
	ProtocolDefinition proto.ProtocolDefinition `json:"protocol_definition" yaml:"protocol_definition"`
	Deposit            sdk.DecCoins             `json:"deposit" yaml:"deposit"`
}

UpgradeProposalJSON defines a UpgradeProposal with a deposit used to parse app upgrade proposals from a JSON file

Jump to

Keyboard shortcuts

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