nft

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNftData

func CheckNftData(
	t *testing.T,
	creator []byte,
	address []byte,
	nodes []*integrationTests.TestProcessorNode,
	tickerID []byte,
	args *NftArguments,
	nonce uint64,
)

CheckNftData -

func CreateNFT

func CreateNFT(tokenIdentifier []byte, issuer *integrationTests.TestProcessorNode, nodes []*integrationTests.TestProcessorNode, args *NftArguments)

CreateNFT -

Types

type NftArguments

type NftArguments struct {
	Name       []byte
	Quantity   int64
	Royalties  int64
	Hash       []byte
	Attributes []byte
	URI        [][]byte
}

NftArguments -

func PrepareNFTWithRoles

func PrepareNFTWithRoles(
	t *testing.T,
	nodes []*integrationTests.TestProcessorNode,
	idxProposers []int,
	nftCreator *integrationTests.TestProcessorNode,
	round *uint64,
	nonce *uint64,
	esdtType string,
	quantity int64,
	roles [][]byte,
) (string, *NftArguments)

PrepareNFTWithRoles -

Jump to

Keyboard shortcuts

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