Versions in this module Expand all Collapse all v1 v1.0.0 Sep 27, 2020 Changes in this version + var NonExistentTokenError = errors.New(...) + func AssertGenericResourceAddress(t *testing.T, client *utils.Client, handler common.Address, rId msg.ResourceId, ...) + func AssertHashExistence(t *testing.T, client *utils.Client, hash [32]byte, contract common.Address) + func DeployAssetStore(t *testing.T, client *utils.Client) common.Address + func DeployMintApproveErc20(t *testing.T, client *utils.Client, erc20Handler common.Address, ...) common.Address + func Erc20AddMinter(t *testing.T, client *utils.Client, erc20Contract, handler common.Address) + func Erc20Approve(t *testing.T, client *utils.Client, erc20Contract, recipient common.Address, ...) + func Erc20AssertAllowance(t *testing.T, client *utils.Client, ...) + func Erc20AssertBalance(t *testing.T, client *utils.Client, amount *big.Int, ...) + func Erc20AssertResourceMapping(t *testing.T, client *utils.Client, handler common.Address, rId msg.ResourceId, ...) + func Erc20BalanceOf(t *testing.T, client *utils.Client, erc20Contract, acct common.Address) *big.Int + func Erc20DeployMint(t *testing.T, client *utils.Client, amount *big.Int) common.Address + func Erc20Mint(t *testing.T, client *utils.Client, erc20Contract, recipient common.Address, ...) + func Erc721AddMinter(t *testing.T, client *utils.Client, erc721Contract common.Address, ...) + func Erc721Approve(t *testing.T, client *utils.Client, erc721Contract, recipient common.Address, ...) + func Erc721ApproveMany(t *testing.T, client *utils.Client, erc721Contract, recipient common.Address, ...) + func Erc721AssertMetadata(t *testing.T, client *utils.Client, erc721Contract common.Address, ...) + func Erc721AssertNonExistence(t *testing.T, client *utils.Client, erc721Contract common.Address, id *big.Int) + func Erc721AssertOwner(t *testing.T, client *utils.Client, erc721Contract common.Address, ...) + func Erc721Deploy(t *testing.T, client *utils.Client) common.Address + func Erc721FundHandler(t *testing.T, client *utils.Client, handler, erc721Contract common.Address, ...) + func Erc721FundHandlerMany(t *testing.T, client *utils.Client, handler, erc721Contract common.Address, ...) + func Erc721Mint(t *testing.T, client *utils.Client, erc721Contract common.Address, id *big.Int, ...) + func Erc721MintMany(t *testing.T, client *utils.Client, erc721Contract common.Address, ...) + func FundErc20Handler(t *testing.T, client *utils.Client, ...) + func GetDepositNonce(t *testing.T, client *utils.Client, bridge common.Address, chain msg.ChainId) uint64 + func GetLatestBlock(t *testing.T, client *utils.Client) *big.Int + func LockNonceAndUpdate(t *testing.T, client *utils.Client) + func NewClient(t *testing.T, endpoint string, kp *secp256k1.Keypair) *utils.Client + func RegisterGenericResource(t *testing.T, client *utils.Client, bridge, handler common.Address, ...) + func RegisterResource(t *testing.T, client *utils.Client, bridge, handler common.Address, ...) + func SetBurnable(t *testing.T, client *utils.Client, bridge, handler, contract common.Address) + func WatchEvent(client *utils.Client, bridge common.Address, subStr utils.EventSig) + type Erc721 struct + Id *big.Int + Metadata [32]byte + func GenerateErc721Tokens(start int, numOfTokens int) []Erc721