cli

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 12 Imported by: ? 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

View Source
const (
	FlagRecipient = "recipient"
	FlagData      = "data"
	FlagName      = "name"
	FlagMTID      = "mt-id"
	FlagAmount    = "amount"
)

Variables

View Source
var (
	FsIssueDenom    = flag.NewFlagSet("", flag.ContinueOnError)
	FsTransferDenom = flag.NewFlagSet("", flag.ContinueOnError)

	FsMintMT     = flag.NewFlagSet("", flag.ContinueOnError)
	FsEditMT     = flag.NewFlagSet("", flag.ContinueOnError)
	FsTransferMT = flag.NewFlagSet("", flag.ContinueOnError)
)

Functions

func GetCmdBurnMT

func GetCmdBurnMT() *cobra.Command

GetCmdBurnMT is the CLI command for sending a BurnMT transaction

func GetCmdEditMT

func GetCmdEditMT() *cobra.Command

GetCmdEditMT is the CLI command for sending an MsgEditMT transaction

func GetCmdIssueDenom

func GetCmdIssueDenom() *cobra.Command

GetCmdIssueDenom is the CLI command for an SaveDenom transaction

func GetCmdMintMT

func GetCmdMintMT() *cobra.Command

GetCmdMintMT is the CLI command for a MintMT transaction

func GetCmdQueryBalances

func GetCmdQueryBalances() *cobra.Command

GetCmdQueryBalances queries the MT balances of a specified owner

func GetCmdQueryDenom

func GetCmdQueryDenom() *cobra.Command

GetCmdQueryDenom queries the specified denom

func GetCmdQueryDenoms

func GetCmdQueryDenoms() *cobra.Command

GetCmdQueryDenoms queries all denoms

func GetCmdQueryMT

func GetCmdQueryMT() *cobra.Command

GetCmdQueryMT queries MT by ID

func GetCmdQueryMTSupply

func GetCmdQueryMTSupply() *cobra.Command

GetCmdQueryMTSupply queries the total supply of given denom and mt ID

func GetCmdQueryMTs

func GetCmdQueryMTs() *cobra.Command

GetCmdQueryMTs queries all MTs of a denom

func GetCmdTransferDenom

func GetCmdTransferDenom() *cobra.Command

GetCmdTransferDenom is the CLI command for sending a TransferDenom transaction

func GetCmdTransferMT

func GetCmdTransferMT() *cobra.Command

GetCmdTransferMT is the CLI command for sending a TransferMT transaction

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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