cli

package
v1.2.0-dhobyghaut Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParamsCmd

func GetParamsCmd() *cobra.Command

GetParamsCmd queries erc20 params info

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the parent command for all erc20 CLI query commands.

func GetTokenPairCmd

func GetTokenPairCmd() *cobra.Command

GetTokenPairCmd queries a token pairs registered

func GetTokenPairsCmd

func GetTokenPairsCmd() *cobra.Command

GetTokenPairsCmd queries a token pairs registered

func NewConvertCoinCmd

func NewConvertCoinCmd() *cobra.Command

NewConvertCoinCmd returns a CLI command handler for converting cosmos coins

func NewConvertERC20Cmd

func NewConvertERC20Cmd() *cobra.Command

NewConvertERC20Cmd returns a CLI command handler for converting ERC20s

func NewRegisterCoinProposalCmd

func NewRegisterCoinProposalCmd() *cobra.Command

NewRegisterCoinProposalCmd implements the command to submit a community-pool-spend proposal

func NewRegisterERC20ProposalCmd

func NewRegisterERC20ProposalCmd() *cobra.Command

NewRegisterERC20ProposalCmd implements the command to submit a community-pool-spend proposal

func NewToggleTokenRelayProposalCmd

func NewToggleTokenRelayProposalCmd() *cobra.Command

NewToggleTokenRelayProposalCmd implements the command to submit a community-pool-spend proposal

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns a root CLI command handler for certain modules/erc20 transaction commands.

func ParseMetadata

func ParseMetadata(cdc codec.JSONCodec, metadataFile string) (banktypes.Metadata, error)

ParseMetadata reads and parses a ParseRegisterCoinProposal from a file.

func ReadMetadataFromPath

func ReadMetadataFromPath(cdc codec.Codec, path string) ([]banktypes.Metadata, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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