cli

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagTokenName = "name"
	FlagTokenURI  = "uri"
	FlagTokenData = "data"
	FlagRecipient = "recipient"
	FlagOwner     = "owner"

	FlagDenomName   = "name"
	FlagDenomID     = "denom-id"
	FlagSchema      = "schema"
	FlagDenomSymbol = "symbol"
	FlagTraits      = "traits"
	FlagMinter      = "minter"
	FlagDescription = "description"
	FlagData        = "data"
)

Variables

View Source
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

func GetCmdApproveAllNFT() *cobra.Command

GetCmdApproveAllNFT is the CLI command to add a valid address to the users approved list

func GetCmdApproveNft

func GetCmdApproveNft() *cobra.Command

GetCmdApproveNft is the CLI command for grants permission to spender to transfer or send the given token

func GetCmdBurnNFT

func GetCmdBurnNFT() *cobra.Command

GetCmdBurnNFT is the CLI command for sending a BurnNFT transaction

func GetCmdEditNFT

func GetCmdEditNFT() *cobra.Command

GetCmdEditNFT is the CLI command for sending an MsgEditNFT transaction

func GetCmdIssueDenom

func GetCmdIssueDenom() *cobra.Command

GetCmdIssueDenom is the CLI command for an IssueDenom transaction

func GetCmdMintNFT

func GetCmdMintNFT() *cobra.Command

GetCmdMintNFT is the CLI command for a MintNFT transaction

func GetCmdQueryApprovedNFT

func GetCmdQueryApprovedNFT() *cobra.Command

GetCmdQueryApprovedNFT queries the NFT and returns its approved operators list

func GetCmdQueryCollection

func GetCmdQueryCollection() *cobra.Command

GetCmdQueryCollection queries all the NFTs from a collection

func GetCmdQueryCollectionsByDenomIds added in v1.1.1

func GetCmdQueryCollectionsByDenomIds() *cobra.Command

GetCmdQueryCollectionsByDenomIds queries for all the collections matching a set of denom ids

func GetCmdQueryDenom

func GetCmdQueryDenom() *cobra.Command

GetCmdQueryDenom queries the specified denom

func GetCmdQueryDenomByName

func GetCmdQueryDenomByName() *cobra.Command

GetCmdQueryDenomByName queries the specified denom by name

func GetCmdQueryDenomBySymbol

func GetCmdQueryDenomBySymbol() *cobra.Command

GetCmdQueryDenomBySymbol queries the specified denom by symbol

func GetCmdQueryDenoms

func GetCmdQueryDenoms() *cobra.Command

GetCmdQueryDenoms queries all denoms

func GetCmdQueryIsApprovedForAll

func GetCmdQueryIsApprovedForAll() *cobra.Command

GetCmdQueryIsApprovedForAll queries if the operator address is authorized for owner address

func GetCmdQueryNFT

func GetCmdQueryNFT() *cobra.Command

GetCmdQueryNFT queries a single NFTs from a collection todo: rename this to QueryNFT in the Use:

func GetCmdQueryOwner

func GetCmdQueryOwner() *cobra.Command

GetCmdQueryOwner queries all the NFTs owned by an account todo: change the name of this to something like QueryAllNFTsOfOwner..

func GetCmdQuerySupply

func GetCmdQuerySupply() *cobra.Command

GetCmdQuerySupply queries the supply of a nft collection

func GetCmdRevokeNft

func GetCmdRevokeNft() *cobra.Command

GetCmdRevokeNft is the CLI command for ownership transfer of the token to contract account

func GetCmdTransferDenom added in v1.1.0

func GetCmdTransferDenom() *cobra.Command

GetCmdTransferDenom is the CLI command for sending a TransferDenom transaction

func GetCmdTransferNft

func GetCmdTransferNft() *cobra.Command

GetCmdTransferNft is the CLI command for sending a TransferNft transaction

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL