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 GetCmdSwapFeeToken() *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) FsSwapFeeToken = flag.NewFlagSet("", flag.ContinueOnError) )
Functions ¶
func GetCmdBurnToken ¶
func GetCmdEditToken ¶
GetCmdEditToken implements the edit token command
func GetCmdIssueToken ¶
GetCmdIssueToken implements the issue token command
func GetCmdMintToken ¶
func GetCmdQueryFee ¶
GetCmdQueryFee implements the query token related fees command.
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query token related param command.
func GetCmdQueryToken ¶
GetCmdQueryToken implements the query token command.
func GetCmdQueryTokens ¶
GetCmdQueryTokens implements the query tokens command.
func GetCmdQueryTotalBurn ¶
GetCmdQueryTotalBurn return the total amount of all burned tokens
func GetCmdSwapFeeToken ¶
GetCmdSwapFeeToken implements the swap token command
func GetCmdTransferTokenOwner ¶
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.