multitransfer

package
v1.999.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildEsdtMultiTransferTxData

func BuildEsdtMultiTransferTxData(
	receiverAddress []byte,
	transfers []*EsdtTransfer,
	endpointName string,
	arguments ...[]byte,
) string

BuildEsdtMultiTransferTxData -

func CreateNFT

func CreateNFT(
	t *testing.T,
	net *integrationTests.TestNetwork,
	issuerNode *integrationTests.TestProcessorNode,
	tokenIdentifier string,
	createdTokenNonce int64,
)

CreateNFT -

func CreateSFT

func CreateSFT(
	t *testing.T,
	net *integrationTests.TestNetwork,
	issuerNode *integrationTests.TestProcessorNode,
	tokenIdentifier string,
	createdTokenNonce int64,
	initialSupply int64,
)

CreateSFT -

func DeployNonPayableSmartContract

func DeployNonPayableSmartContract(
	t *testing.T,
	net *integrationTests.TestNetwork,
	deployerNode *integrationTests.TestProcessorNode,
	fileName string,
) []byte

DeployNonPayableSmartContract -

func EsdtMultiTransferToVault

func EsdtMultiTransferToVault(t *testing.T, crossShard bool, scCodeFilename string)

EsdtMultiTransferToVault -

func IssueFungibleToken

func IssueFungibleToken(
	t *testing.T,
	net *integrationTests.TestNetwork,
	issuerNode *integrationTests.TestProcessorNode,
	ticker string,
	initialSupply int64,
) string

IssueFungibleToken -

func IssueNft

func IssueNft(
	net *integrationTests.TestNetwork,
	issuerNode *integrationTests.TestProcessorNode,
	ticker string,
	semiFungible bool,
) string

IssueNft -

func MultiTransferToVault

func MultiTransferToVault(
	t *testing.T,
	net *integrationTests.TestNetwork,
	senderNode *integrationTests.TestProcessorNode,
	vaultScAddress []byte,
	transfers []*EsdtTransfer,
	nrRoundsToWait int,
	userBalances map[string]map[int64]int64,
	scBalances map[string]map[int64]int64,
)

MultiTransferToVault -

func SetLocalRoles

func SetLocalRoles(
	net *integrationTests.TestNetwork,
	issuerNode *integrationTests.TestProcessorNode,
	addrForRole []byte,
	tokenIdentifier string,
	roles [][]byte,
)

SetLocalRoles -

func WaitForOperationCompletion

func WaitForOperationCompletion(net *integrationTests.TestNetwork, roundsToWait int)

WaitForOperationCompletion -

Types

type EsdtTransfer

type EsdtTransfer struct {
	TokenIdentifier string
	Nonce           int64
	Amount          int64
}

EsdtTransfer -

Jump to

Keyboard shortcuts

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