Documentation
¶
Index ¶
- Constants
- Variables
- func GetCmdApproveAllNFT() *cobra.Command
- func GetCmdApproveNft() *cobra.Command
- func GetCmdBurnNFT() *cobra.Command
- func GetCmdEditNFT() *cobra.Command
- func GetCmdIssueDenom() *cobra.Command
- func GetCmdMintNFT() *cobra.Command
- func GetCmdQueryApprovedNFT() *cobra.Command
- func GetCmdQueryCollection() *cobra.Command
- func GetCmdQueryDenom() *cobra.Command
- func GetCmdQueryDenomByName() *cobra.Command
- func GetCmdQueryDenomBySymbol() *cobra.Command
- func GetCmdQueryDenoms() *cobra.Command
- func GetCmdQueryIsApprovedForAll() *cobra.Command
- func GetCmdQueryNFT() *cobra.Command
- func GetCmdQueryOwner() *cobra.Command
- func GetCmdQuerySupply() *cobra.Command
- func GetCmdRevokeNft() *cobra.Command
- func GetCmdTransferDenom() *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" FlagDenomSymbol = "symbol" )
Variables ¶
var ( FsIssueDenom = flag.NewFlagSet("", flag.ContinueOnError) FsMintNFT = flag.NewFlagSet("", flag.ContinueOnError) FsEditNFT = flag.NewFlagSet("", flag.ContinueOnError) FsTransferNft = flag.NewFlagSet("", flag.ContinueOnError) FsApproveNft = flag.NewFlagSet("", flag.ContinueOnError) FsApproveAllNft = flag.NewFlagSet("", flag.ContinueOnError) FsRevokeNft = flag.NewFlagSet("", flag.ContinueOnError) FsQuerySupply = flag.NewFlagSet("", flag.ContinueOnError) FsQueryOwner = flag.NewFlagSet("", flag.ContinueOnError) FsTransferDenom = flag.NewFlagSet("", flag.ContinueOnError) )
Functions ¶
func GetCmdApproveAllNFT ¶
GetCmdApproveAllNFT is the CLI command to add a valid address to the users approved list
func GetCmdApproveNft ¶
GetCmdApproveNft is the CLI command for grants permission to spender to transfer or send the given token
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 GetCmdQueryApprovedNFT ¶
GetCmdQueryApprovedNFT queries the NFT and returns its approved operators list
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 GetCmdQueryDenomBySymbol ¶
GetCmdQueryDenomBySymbol queries the specified denom by symbol
func GetCmdQueryDenoms ¶
GetCmdQueryDenoms queries all denoms
func GetCmdQueryIsApprovedForAll ¶
GetCmdQueryIsApprovedForAll queries if the operator address is authorized for owner address
func GetCmdQueryNFT ¶
GetCmdQueryNFT queries a single NFTs from a collection todo: rename this to QueryNFT in the Use:
func GetCmdQueryOwner ¶
GetCmdQueryOwner queries all the NFTs owned by an account todo: change the name of this to something like QueryAllNFTsOfOwner..
func GetCmdQuerySupply ¶
GetCmdQuerySupply queries the supply of a nft collection
func GetCmdRevokeNft ¶
GetCmdRevokeNft is the CLI command for ownership transfer of the token to contract account
func GetCmdTransferDenom ¶ added in v1.1.0
GetCmdTransferDenom is the CLI command for sending a TransferDenom transaction
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.