cli

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FlagSymbol        = "symbol"
	FlagName          = "name"
	FlagScale         = "scale"
	FlagMinUnit       = "min-unit"
	FlagInitialSupply = "initial-supply"
	FlagMaxSupply     = "max-supply"
	FlagMintable      = "mintable"
	FlagTo            = "to"
	FlagAmount        = "amount"
)

Variables

View Source
var (
	FsIssueToken         = flag.NewFlagSet("", flag.ContinueOnError)
	FsEditToken          = flag.NewFlagSet("", flag.ContinueOnError)
	FsTransferTokenOwner = flag.NewFlagSet("", flag.ContinueOnError)
	FsMintToken          = flag.NewFlagSet("", flag.ContinueOnError)
)

Functions

func GetCmdBurnToken added in v1.2.0

func GetCmdBurnToken() *cobra.Command

func GetCmdEditToken added in v1.2.0

func GetCmdEditToken() *cobra.Command

GetCmdEditToken implements the edit token command

func GetCmdIssueToken added in v1.2.0

func GetCmdIssueToken() *cobra.Command

GetCmdIssueToken implements the issue token command

func GetCmdMintToken added in v1.2.0

func GetCmdMintToken() *cobra.Command

func GetCmdQueryFee added in v1.2.0

func GetCmdQueryFee() *cobra.Command

GetCmdQueryFee implements the query token related fees command.

func GetCmdQueryParams added in v1.2.0

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query token related param command.

func GetCmdQueryToken added in v1.2.0

func GetCmdQueryToken() *cobra.Command

GetCmdQueryToken implements the query token command.

func GetCmdQueryTokens added in v1.2.0

func GetCmdQueryTokens() *cobra.Command

GetCmdQueryTokens implements the query tokens command.

func GetCmdQueryTotalBurn added in v1.2.0

func GetCmdQueryTotalBurn() *cobra.Command

GetCmdQueryTotalBurn return the total amount of all burned tokens

func GetCmdTransferTokenOwner added in v1.2.0

func GetCmdTransferTokenOwner() *cobra.Command

GetCmdTransferTokenOwner implements the transfer token owner command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the query commands for the token module.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns the transaction commands for the token module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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