cli

package
v0.0.0-...-df6cd37 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 11 Imported by: 0

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

func GetCmdBurnToken() *cobra.Command

func GetCmdEditToken

func GetCmdEditToken() *cobra.Command

GetCmdEditToken implements the edit token command

func GetCmdIssueToken

func GetCmdIssueToken() *cobra.Command

GetCmdIssueToken implements the issue token command

func GetCmdMintToken

func GetCmdMintToken() *cobra.Command

func GetCmdQueryFee

func GetCmdQueryFee() *cobra.Command

GetCmdQueryFee implements the query token related fees command.

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query token related param command.

func GetCmdQueryToken

func GetCmdQueryToken() *cobra.Command

GetCmdQueryToken implements the query token command.

func GetCmdQueryTokens

func GetCmdQueryTokens() *cobra.Command

GetCmdQueryTokens implements the query tokens command.

func GetCmdQueryTotalBurn

func GetCmdQueryTotalBurn() *cobra.Command

GetCmdQueryTotalBurn return the total amount of all burned tokens

func GetCmdTransferTokenOwner

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