Documentation ¶
Index ¶
- func GetCmdQueryUpgradeConfig(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUpgradeFailedVersion(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUpgradeVersion(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdSubmitProposal(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- type UpgradeProposalJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryUpgradeConfig ¶
GetCmdQueryUpgradeConfig returns cmd for upgrade config query
func GetCmdQueryUpgradeFailedVersion ¶
GetCmdQueryUpgradeFailedVersion returns cmd for upgrade failed version query
func GetCmdQueryUpgradeVersion ¶
GetCmdQueryUpgradeVersion returns cmd for upgrade version query
func GetCmdSubmitProposal ¶
GetCmdSubmitProposal implements a command handler for submitting a dex list proposal transaction
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
Click to show internal directories.
Click to hide internal directories.