Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdBurnToken() *cobra.Command
- func GetCmdEditToken() *cobra.Command
- func GetCmdIssueToken() *cobra.Command
- func GetCmdMintToken() *cobra.Command
- func GetCmdQueryFee() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryToken() *cobra.Command
- func GetCmdQueryTokens() *cobra.Command
- func GetCmdQueryTotalBurn() *cobra.Command
- func GetCmdTransferTokenOwner() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
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 GetCmdEditToken ¶ added in v1.2.0
GetCmdEditToken implements the edit token command
func GetCmdIssueToken ¶ added in v1.2.0
GetCmdIssueToken implements the issue token command
func GetCmdMintToken ¶ added in v1.2.0
func GetCmdQueryFee ¶ added in v1.2.0
GetCmdQueryFee implements the query token related fees command.
func GetCmdQueryParams ¶ added in v1.2.0
GetCmdQueryParams implements the query token related param command.
func GetCmdQueryToken ¶ added in v1.2.0
GetCmdQueryToken implements the query token command.
func GetCmdQueryTokens ¶ added in v1.2.0
GetCmdQueryTokens implements the query tokens command.
func GetCmdQueryTotalBurn ¶ added in v1.2.0
GetCmdQueryTotalBurn return the total amount of all burned tokens
func GetCmdTransferTokenOwner ¶ added in v1.2.0
GetCmdTransferTokenOwner implements the transfer token owner command
func GetQueryCmd ¶
GetQueryCmd returns the query commands for the token module.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.