Documentation ¶
Index ¶
- func AddGenericProposalCommandFlags(cmd *cobra.Command)
- func CmdQueryParams() *cobra.Command
- func GenericProposalCmdBroadcast(cmd *cobra.Command, clientCtx client.Context, content govv1beta1.Content, ...) error
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd(storeKey string) *cobra.Command
- func NewAuthorityTransferProposalCmd() *cobra.Command
- func NewCollectTreasuryProposalCmd() *cobra.Command
- func NewHotPathOpenProposalCmd() *cobra.Command
- func NewOpsProposalCmd() *cobra.Command
- func NewSetSafeModeProposalCmd() *cobra.Command
- func NewSetTreasuryProposalCmd() *cobra.Command
- func NewTransferGovernanceProposalCmd() *cobra.Command
- func NewUpgradeProxyProposalCmd() *cobra.Command
- func ParseAuthorityTransferMetadata(cdc codec.JSONCodec, metadataFile string) (types.AuthorityTransferMetadata, error)
- func ParseCollectTreasuryMetadata(cdc codec.JSONCodec, metadataFile string) (types.CollectTreasuryMetadata, error)
- func ParseHotPathOpenMetadata(cdc codec.JSONCodec, metadataFile string) (types.HotPathOpenMetadata, error)
- func ParseOpsMetadata(cdc codec.JSONCodec, metadataFile string) (types.OpsMetadata, error)
- func ParseSetSafeModeMetadata(cdc codec.JSONCodec, metadataFile string) (types.SetSafeModeMetadata, error)
- func ParseSetTreasuryMetadata(cdc codec.JSONCodec, metadataFile string) (types.SetTreasuryMetadata, error)
- func ParseTransferGovernanceMetadata(cdc codec.JSONCodec, metadataFile string) (types.TransferGovernanceMetadata, error)
- func ParseUpgradeProxyMetadata(cdc codec.JSONCodec, metadataFile string) (types.UpgradeProxyMetadata, error)
- type GenericProposalSetup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdQueryParams ¶
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetTxCmd ¶ added in v1.5.0
GetTxCmd bundles all the subcmds together so they appear under `gravity tx`
func NewAuthorityTransferProposalCmd ¶
NewAuthorityTransferProposalCmd implements the command to submit a AuthorityTransferProposal nolint: dupl
func NewCollectTreasuryProposalCmd ¶
NewCollectTreasuryProposalCmd implements the command to submit a CollectTreasuryProposal nolint: dupl
func NewHotPathOpenProposalCmd ¶
NewHotPathOpenProposalCmd implements the command to submit a HotPathOpenProposal nolint: dupl
func NewOpsProposalCmd ¶ added in v1.5.0
NewOpsProposalCmd implements the command to submit a OpsProposal nolint: dupl
func NewSetSafeModeProposalCmd ¶
NewSetSafeModeProposalCmd implements the command to submit a SetSafeModeProposal nolint: dupl
func NewSetTreasuryProposalCmd ¶
NewSetTreasuryProposalCmd implements the command to submit a SetTreasuryProposal nolint: dupl
func NewTransferGovernanceProposalCmd ¶
NewTransferGovernanceProposalCmd implements the command to submit a TransferGovernanceProposal nolint: dupl
func NewUpgradeProxyProposalCmd ¶
NewUpgradeProxyProposalCmd implements the command to submit a UpgradeProxyProposal nolint: dupl
func ParseOpsMetadata ¶ added in v1.5.0
Types ¶
type GenericProposalSetup ¶
type GenericProposalSetup struct { ClientCtx client.Context Title string Description string Deposit sdk.Coins From sdk.AccAddress }
func GenericProposalCmdSetup ¶
func GenericProposalCmdSetup(cmd *cobra.Command) (setup GenericProposalSetup, err error)