cli

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

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

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

	FlagDenomName = "name"
	FlagDenomID   = "denom-id"
	FlagSchema    = "schema"
)

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)
)

Functions

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 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 GetCmdQueryDenomByName added in v2.1.0

func GetCmdQueryDenomByName() *cobra.Command

GetCmdQueryDenomByName queries the specified denom by name

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