Documentation ¶
Overview ¶
Copyright (c) 2016-2021 Shanghai Bianjie AI Technology Inc. (licensed under the Apache License, Version 2.0) Modifications Copyright (c) 2021, CRO Protocol Labs ("Crypto.org") (licensed under the Apache License, Version 2.0)
Copyright (c) 2016-2021 Shanghai Bianjie AI Technology Inc. (licensed under the Apache License, Version 2.0) Modifications Copyright (c) 2021, CRO Protocol Labs ("Crypto.org") (licensed under the Apache License, Version 2.0)
Copyright (c) 2016-2021 Shanghai Bianjie AI Technology Inc. (licensed under the Apache License, Version 2.0) Modifications Copyright (c) 2021, CRO Protocol Labs ("Crypto.org") (licensed under the Apache License, Version 2.0)
Index ¶
- Constants
- Variables
- func GetCmdBurnNFT() *cobra.Command
- func GetCmdEditNFT() *cobra.Command
- func GetCmdIssueDenom() *cobra.Command
- func GetCmdMintNFT() *cobra.Command
- func GetCmdQueryCollection() *cobra.Command
- func GetCmdQueryDenom() *cobra.Command
- func GetCmdQueryDenomByName() *cobra.Command
- func GetCmdQueryDenoms() *cobra.Command
- func GetCmdQueryNFT() *cobra.Command
- func GetCmdQueryOwner() *cobra.Command
- func GetCmdQuerySupply() *cobra.Command
- func GetCmdTransferNFT() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
Constants ¶
const ( FlagTokenName = "name" FlagTokenURI = "uri" FlagTokenData = "data" FlagRecipient = "recipient" FlagOwner = "owner" FlagDenomName = "name" FlagDenomID = "denom-id" FlagSchema = "schema" )
Variables ¶
var ( FsIssueDenom = flag.NewFlagSet("", flag.ContinueOnError) FsMintNFT = flag.NewFlagSet("", flag.ContinueOnError) FsEditNFT = flag.NewFlagSet("", flag.ContinueOnError) FsTransferNFT = flag.NewFlagSet("", flag.ContinueOnError) FsQuerySupply = flag.NewFlagSet("", flag.ContinueOnError) FsQueryOwner = flag.NewFlagSet("", flag.ContinueOnError) )
Functions ¶
func GetCmdBurnNFT ¶
GetCmdBurnNFT is the CLI command for sending a BurnNFT transaction
func GetCmdEditNFT ¶
GetCmdEditNFT is the CLI command for sending an MsgEditNFT transaction
func GetCmdIssueDenom ¶
GetCmdIssueDenom is the CLI command for an IssueDenom transaction
func GetCmdMintNFT ¶
GetCmdMintNFT is the CLI command for a MintNFT transaction
func GetCmdQueryCollection ¶
GetCmdQueryCollection queries all the NFTs from a collection
func GetCmdQueryDenom ¶
GetCmdQueryDenom queries the specified denom
func GetCmdQueryDenomByName ¶
GetCmdQueryDenomByName queries the specified denom by name
func GetCmdQueryDenoms ¶
GetCmdQueryDenoms queries all denoms
func GetCmdQueryNFT ¶
GetCmdQueryNFT queries a single NFTs from a collection
func GetCmdQueryOwner ¶
GetCmdQueryOwner queries all the NFTs owned by an account
func GetCmdQuerySupply ¶
GetCmdQuerySupply queries the supply of a nft collection
func GetCmdTransferNFT ¶
GetCmdTransferNFT is the CLI command for sending a TransferNFT transaction
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
This section is empty.