cli

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagTokenName   = "name"
	FlagURI         = "uri"
	FlagURIHash     = "uri-hash"
	FlagDescription = "description"
	FlagRecipient   = "recipient"
	FlagOwner       = "owner"
	FlagData        = "data"

	FlagDenomName        = "name"
	FlagDenomID          = "denom-id"
	FlagSchema           = "schema"
	FlagSymbol           = "symbol"
	FlagMintRestricted   = "mint-restricted"
	FlagUpdateRestricted = "update-restricted"
)

Variables

View Source
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)
	FsTransferDenom = flag.NewFlagSet("", flag.ContinueOnError)
)

Functions

func GetCmdBurnNFT

func GetCmdBurnNFT() *cobra.Command

GetCmdBurnNFT is the CLI command for sending a RemoveNFT 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 SaveDenom transaction

func GetCmdMintNFT

func GetCmdMintNFT() *cobra.Command

GetCmdMintNFT is the CLI command for a SaveNFT transaction

func GetCmdQueryCollection

func GetCmdQueryCollection() *cobra.Command

GetCmdQueryCollection queries all the NFTs from a collection

func GetCmdQueryDenom

func GetCmdQueryDenom() *cobra.Command

GetCmdQueryDenom queries the specified denom

func GetCmdQueryDenoms

func GetCmdQueryDenoms() *cobra.Command

GetCmdQueryDenoms queries all denoms

func GetCmdQueryNFT

func GetCmdQueryNFT() *cobra.Command

GetCmdQueryNFT queries a single NFTs from a collection

func GetCmdQueryOwner

func GetCmdQueryOwner() *cobra.Command

GetCmdQueryOwner queries all the NFTs owned by an account

func GetCmdQuerySupply

func GetCmdQuerySupply() *cobra.Command

GetCmdQuerySupply queries the supply of a nft collection

func GetCmdTransferDenom

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