Documentation ¶
Index ¶
- func GetCmdQueryGasConfig(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryUpgrade(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdSubmitProposal(cdcP *codec.CodecProxy, reg interfacetypes.InterfaceRegistry) *cobra.Command
- func GetCmdSubmitUpgradeProposal(cdcP *codec.CodecProxy, _ interfacetypes.InterfaceRegistry) *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 GetCmdQueryGasConfig ¶ added in v0.1.6
GetCmdQueryParams implements the query params command.
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query params command.
func GetCmdQueryUpgrade ¶
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 ¶
func GetCmdSubmitUpgradeProposal(cdcP *codec.CodecProxy, _ interfacetypes.InterfaceRegistry) *cobra.Command
Types ¶
type UpgradeProposalJSON ¶
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 ¶
func ParseUpgradeProposalJSON(cdc *codec.Codec, proposalFile string) (UpgradeProposalJSON, error)
Click to show internal directories.
Click to hide internal directories.