cli

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

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