multitransfer

package
v1.6.17 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 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,
	issuerAccount *integrationTests.TestWalletAccount,
	tokenIdentifier string,
	createdTokenNonce int64,
)

CreateNFT -

func CreateSFT

func CreateSFT(
	t *testing.T,
	net *integrationTests.TestNetwork,
	issuerNode *integrationTests.TestProcessorNode,
	issuerAccount *integrationTests.TestWalletAccount,
	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 IssueFungibleTokenWithIssuerAddress added in v1.6.0

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

IssueFungibleTokenWithIssuerAddress -

func IssueNft

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

IssueNft -

func IssueNftWithIssuerAddress added in v1.6.0

func IssueNftWithIssuerAddress(
	net *integrationTests.TestNetwork,
	issuerNode *integrationTests.TestProcessorNode,
	issuerAccount *integrationTests.TestWalletAccount,
	ticker string,
	semiFungible bool,
) string

IssueNftWithIssuerAddress -

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,
	issuerAccount *integrationTests.TestWalletAccount,
	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