Documentation ¶
Index ¶
- func CheckAddressHasESDTTokens(t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, ...)
- func CheckNumCallBacks(t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, ...)
- func CheckSavedCallBackData(t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, ...)
- func CreateNodesAndPrepareBalances(numOfShards int) ([]*integrationTests.TestProcessorNode, []int)
- func DeployNonPayableSmartContract(t *testing.T, nodes []*integrationTests.TestProcessorNode, idxProposers []int, ...) []byte
- func GetESDTDataFromKey(userAcnt state.UserAccountHandler, key []byte) (*esdt.ESDigitalToken, error)
- func GetESDTTokenData(t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, ...) *esdt.ESDigitalToken
- func GetUserAccountWithAddress(t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode) state.UserAccountHandler
- func IssueNFT(nodes []*integrationTests.TestProcessorNode, esdtType string, ticker string)
- func IssueTestToken(nodes []*integrationTests.TestProcessorNode, initialSupply int64, ...)
- func PrepareFungibleTokensWithLocalBurnAndMint(t *testing.T, nodes []*integrationTests.TestProcessorNode, ...) string
- func SetRoles(nodes []*integrationTests.TestProcessorNode, addrForRole []byte, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAddressHasESDTTokens ¶
func CheckAddressHasESDTTokens( t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, tokenName string, value int64, )
CheckAddressHasESDTTokens -
func CheckNumCallBacks ¶
func CheckNumCallBacks( t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, expectedNumCallbacks int, )
CheckNumCallBacks -
func CheckSavedCallBackData ¶
func CheckSavedCallBackData( t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, callbackIndex int, expectedTokenId string, expectedPayment *big.Int, expectedResultCode vmcommon.ReturnCode, expectedArguments [][]byte)
CheckSavedCallBackData -
func CreateNodesAndPrepareBalances ¶
func CreateNodesAndPrepareBalances(numOfShards int) ([]*integrationTests.TestProcessorNode, []int)
CreateNodesAndPrepareBalances -
func DeployNonPayableSmartContract ¶
func DeployNonPayableSmartContract( t *testing.T, nodes []*integrationTests.TestProcessorNode, idxProposers []int, nonce *uint64, round *uint64, fileName string, ) []byte
DeployNonPayableSmartContract -
func GetESDTDataFromKey ¶
func GetESDTDataFromKey(userAcnt state.UserAccountHandler, key []byte) (*esdt.ESDigitalToken, error)
GetESDTDataFromKey -
func GetESDTTokenData ¶
func GetESDTTokenData( t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, tokenName string, ) *esdt.ESDigitalToken
GetESDTTokenData -
func GetUserAccountWithAddress ¶
func GetUserAccountWithAddress( t *testing.T, address []byte, nodes []*integrationTests.TestProcessorNode, ) state.UserAccountHandler
GetUserAccountWithAddress -
func IssueNFT ¶
func IssueNFT(nodes []*integrationTests.TestProcessorNode, esdtType string, ticker string)
IssueNFT -
func IssueTestToken ¶
func IssueTestToken(nodes []*integrationTests.TestProcessorNode, initialSupply int64, ticker string)
IssueTestToken -
func PrepareFungibleTokensWithLocalBurnAndMint ¶
func PrepareFungibleTokensWithLocalBurnAndMint( t *testing.T, nodes []*integrationTests.TestProcessorNode, addressWithRoles []byte, idxProposers []int, round *uint64, nonce *uint64, ) string
PrepareFungibleTokensWithLocalBurnAndMint -
func SetRoles ¶
func SetRoles(nodes []*integrationTests.TestProcessorNode, addrForRole []byte, tokenIdentifier []byte, roles [][]byte)
SetRoles -
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.