Documentation ¶
Index ¶
- Variables
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var NonExistentTokenError = errors.New("VM Exception while processing transaction: revert ERC721: owner query for nonexistent token")
Functions ¶
func AssertHashExistence ¶
func DeployMintApproveErc20 ¶
func Erc20AddMinter ¶
func Erc20Approve ¶
func Erc20AssertAllowance ¶
func Erc20AssertBalance ¶
func Erc20BalanceOf ¶
func Erc20DeployMint ¶
func Erc721AddMinter ¶
func Erc721Approve ¶
func Erc721ApproveMany ¶
func Erc721AssertMetadata ¶
func Erc721AssertOwner ¶
func Erc721FundHandler ¶
func Erc721FundHandlerMany ¶
func Erc721Mint ¶
func Erc721MintMany ¶
func FundErc20Handler ¶
func GetDepositNonce ¶
func RegisterGenericResource ¶
func RegisterResource ¶
func SetBurnable ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.