Documentation ¶
Index ¶
- func GetCmdQueryBlockConfig(queryRoute string, cdc *codec.Codec) *cobra.Command
- 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 GetCmdQueryBlockConfig ¶ added in v1.8.0
GetCmdQueryBlockConfig implements the query params command.
func GetCmdQueryGasConfig ¶ added in v1.7.6
GetCmdQueryParams implements the query params command.
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query params command.
func GetCmdQueryUpgrade ¶ added in v1.7.0
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
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)
Click to show internal directories.
Click to hide internal directories.