Documentation ¶
Index ¶
- func AddGenericProposalCommandFlags(cmd *cobra.Command)
- func CmdQueryParams() *cobra.Command
- func GenericProposalCmdBroadcast(cmd *cobra.Command, clientCtx client.Context, content govtypes.Content, ...) error
- func GetQueryCmd(queryRoute string) *cobra.Command
- func NewAuthorityTransferProposalCmd() *cobra.Command
- func NewCollectTreasuryProposalCmd() *cobra.Command
- func NewHotPathOpenProposalCmd() *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 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 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 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
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)