cli

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGenericProposalCommandFlags

func AddGenericProposalCommandFlags(cmd *cobra.Command)

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func GenericProposalCmdBroadcast

func GenericProposalCmdBroadcast(cmd *cobra.Command, clientCtx client.Context, content govtypes.Content, deposit sdk.Coins, from sdk.AccAddress) error

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func NewAuthorityTransferProposalCmd

func NewAuthorityTransferProposalCmd() *cobra.Command

NewAuthorityTransferProposalCmd implements the command to submit a AuthorityTransferProposal nolint: dupl

func NewCollectTreasuryProposalCmd

func NewCollectTreasuryProposalCmd() *cobra.Command

NewCollectTreasuryProposalCmd implements the command to submit a CollectTreasuryProposal nolint: dupl

func NewHotPathOpenProposalCmd

func NewHotPathOpenProposalCmd() *cobra.Command

NewHotPathOpenProposalCmd implements the command to submit a HotPathOpenProposal nolint: dupl

func NewSetSafeModeProposalCmd

func NewSetSafeModeProposalCmd() *cobra.Command

NewSetSafeModeProposalCmd implements the command to submit a SetSafeModeProposal nolint: dupl

func NewSetTreasuryProposalCmd

func NewSetTreasuryProposalCmd() *cobra.Command

NewSetTreasuryProposalCmd implements the command to submit a SetTreasuryProposal nolint: dupl

func NewTransferGovernanceProposalCmd

func NewTransferGovernanceProposalCmd() *cobra.Command

NewTransferGovernanceProposalCmd implements the command to submit a TransferGovernanceProposal nolint: dupl

func NewUpgradeProxyProposalCmd

func NewUpgradeProxyProposalCmd() *cobra.Command

NewUpgradeProxyProposalCmd implements the command to submit a UpgradeProxyProposal nolint: dupl

func ParseAuthorityTransferMetadata

func ParseAuthorityTransferMetadata(cdc codec.JSONCodec, metadataFile string) (types.AuthorityTransferMetadata, error)

func ParseCollectTreasuryMetadata

func ParseCollectTreasuryMetadata(cdc codec.JSONCodec, metadataFile string) (types.CollectTreasuryMetadata, error)

func ParseHotPathOpenMetadata

func ParseHotPathOpenMetadata(cdc codec.JSONCodec, metadataFile string) (types.HotPathOpenMetadata, error)

func ParseSetSafeModeMetadata

func ParseSetSafeModeMetadata(cdc codec.JSONCodec, metadataFile string) (types.SetSafeModeMetadata, error)

func ParseSetTreasuryMetadata

func ParseSetTreasuryMetadata(cdc codec.JSONCodec, metadataFile string) (types.SetTreasuryMetadata, error)

func ParseTransferGovernanceMetadata

func ParseTransferGovernanceMetadata(cdc codec.JSONCodec, metadataFile string) (types.TransferGovernanceMetadata, error)

func ParseUpgradeProxyMetadata

func ParseUpgradeProxyMetadata(cdc codec.JSONCodec, metadataFile string) (types.UpgradeProxyMetadata, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL