cli

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 12 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v1.5.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