cli

package
v2.0.0-...-547a3fa Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagSymbol   = "symbol"
	FlagDecimals = "decimals"
)

TokenMappingChangeProposalTxCmd flags

Variables

This section is empty.

Functions

func CmdConvertTokens

func CmdConvertTokens() *cobra.Command

func CmdSendToCryptoOrg

func CmdSendToCryptoOrg() *cobra.Command

func CmdTurnBridge

func CmdTurnBridge() *cobra.Command

CmdTurnBridge returns a CLI command handler for enable or disable the bridge

func CmdUpdatePermissions

func CmdUpdatePermissions() *cobra.Command

CmdUpdatePermissions returns a CLI command handler for updating swa permissions

func CmdUpdateTokenMapping

func CmdUpdateTokenMapping() *cobra.Command

CmdUpdateTokenMapping returns a CLI command handler for update token mapping

func GetContractByDenomCmd

func GetContractByDenomCmd() *cobra.Command

GetContractByDenomCmd queries the contracts by denom

func GetDenomByContractCmd

func GetDenomByContractCmd() *cobra.Command

GetDenomByContractCmd queries the denom name by contract address

func GetPermissions

func GetPermissions() *cobra.Command

GetPermissions queries the permission for a specific address

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func Migrate

func Migrate(appState genutiltypes.AppMap, clientCtx client.Context) genutiltypes.AppMap

func MigrateGenesisCmd

func MigrateGenesisCmd() *cobra.Command

MigrateGenesisCmd returns a command to execute genesis state migration.

func NewSubmitTokenMappingChangeProposalTxCmd

func NewSubmitTokenMappingChangeProposalTxCmd() *cobra.Command

NewSubmitTokenMappingChangeProposalTxCmd returns a CLI command handler for creating a token mapping change proposal governance transaction. Deprecated: please use submit-proposal instead.

func QueryParamsCmd

func QueryParamsCmd() *cobra.Command

QueryParamsCmd returns the command handler for evidence parameter querying.

Types

type ExportEvmGenesisState

type ExportEvmGenesisState struct {
	evmtypes.GenesisState
	Params ExportEvmParams `json:"params"`
}

type ExportEvmParams

type ExportEvmParams struct {
	evmtypes.Params
	ExtraEIPs []string `json:"extra_eips"`
}

type ExportFeemarketGenesisState

type ExportFeemarketGenesisState struct {
	feemarkettypes.GenesisState
	Params   ExportFeemarketParams `json:"params"`
	BlockGas uint64                `json:"block_gas,string"`
}

type ExportFeemarketParams

type ExportFeemarketParams struct {
	feemarkettypes.Params
	EnableHeight int64 `json:"enable_height,string"`
}

Jump to

Keyboard shortcuts

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