nft

package
v0.0.0-...-c3b15b7 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OwnerName  = "owner"
	Owner      = "cosmos1kznrznww4pd6gx0zwrpthjk68fdmqypjpkj5hp"
	OwnerArmor = `` /* 255-byte string literal not displayed */

)

Variables

View Source
var (
	ExpClass = nft.Class{
		Id:          testClassID,
		Name:        testClassName,
		Symbol:      testClassSymbol,
		Description: testClassDescription,
		Uri:         testClassURI,
	}

	ExpNFT = nft.NFT{
		ClassId: testClassID,
		Id:      testID,
		Uri:     testURI,
	}
)

Functions

func ExecQueryBalance

func ExecQueryBalance(val *network.Validator, classID, owner string) (testutil.BufferWriter, error)

func ExecQueryClass

func ExecQueryClass(val *network.Validator, classID string) (testutil.BufferWriter, error)

func ExecQueryClasses

func ExecQueryClasses(val *network.Validator) (testutil.BufferWriter, error)

func ExecQueryNFT

func ExecQueryNFT(val *network.Validator, classID, nftID string) (testutil.BufferWriter, error)

func ExecQueryNFTs

func ExecQueryNFTs(val *network.Validator, classID, owner string) (testutil.BufferWriter, error)

func ExecQueryOwner

func ExecQueryOwner(val *network.Validator, classID, nftID string) (testutil.BufferWriter, error)

func ExecQuerySupply

func ExecQuerySupply(val *network.Validator, classID string) (testutil.BufferWriter, error)

func ExecSend

func ExecSend(val *network.Validator, args []string) (testutil.BufferWriter, error)

Types

type E2ETestSuite

type E2ETestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func NewE2ETestSuite

func NewE2ETestSuite(cfg network.Config) *E2ETestSuite

func (*E2ETestSuite) SetupSuite

func (s *E2ETestSuite) SetupSuite()

func (*E2ETestSuite) TearDownSuite

func (s *E2ETestSuite) TearDownSuite()

func (*E2ETestSuite) TestCLITxSend

func (s *E2ETestSuite) TestCLITxSend()

func (*E2ETestSuite) TestQueryBalance

func (s *E2ETestSuite) TestQueryBalance()

func (*E2ETestSuite) TestQueryBalanceGRPC

func (s *E2ETestSuite) TestQueryBalanceGRPC()

func (*E2ETestSuite) TestQueryClass

func (s *E2ETestSuite) TestQueryClass()

func (*E2ETestSuite) TestQueryClassGRPC

func (s *E2ETestSuite) TestQueryClassGRPC()

func (*E2ETestSuite) TestQueryClasses

func (s *E2ETestSuite) TestQueryClasses()

func (*E2ETestSuite) TestQueryClassesGRPC

func (s *E2ETestSuite) TestQueryClassesGRPC()

func (*E2ETestSuite) TestQueryNFT

func (s *E2ETestSuite) TestQueryNFT()

func (*E2ETestSuite) TestQueryNFTGRPC

func (s *E2ETestSuite) TestQueryNFTGRPC()

func (*E2ETestSuite) TestQueryNFTs

func (s *E2ETestSuite) TestQueryNFTs()

func (*E2ETestSuite) TestQueryNFTsGRPC

func (s *E2ETestSuite) TestQueryNFTsGRPC()

func (*E2ETestSuite) TestQueryOwner

func (s *E2ETestSuite) TestQueryOwner()

func (*E2ETestSuite) TestQueryOwnerGRPC

func (s *E2ETestSuite) TestQueryOwnerGRPC()

func (*E2ETestSuite) TestQuerySupply

func (s *E2ETestSuite) TestQuerySupply()

func (*E2ETestSuite) TestQuerySupplyGRPC

func (s *E2ETestSuite) TestQuerySupplyGRPC()

Jump to

Keyboard shortcuts

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