Documentation ¶
Index ¶
- 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, ...)
- 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 FundErc20Handler(t *testing.T, client *utils.Client, ...)
- func GetDepositNonce(t *testing.T, client *utils.Client, bridge common.Address, chain types.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 RegisterResource(t *testing.T, client *utils.Client, bridge, handler common.Address, ...)
- func SetBurnable(t *testing.T, client *utils.Client, bridge, contract common.Address, ...)
- func WatchEvent(client *utils.Client, bridge common.Address, subStr utils.EventSig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertHashExistence ¶
func DeployMintApproveErc20 ¶
func Erc20AddMinter ¶
func Erc20Approve ¶
func Erc20AssertAllowance ¶
func Erc20AssertBalance ¶
func Erc20BalanceOf ¶
func Erc20DeployMint ¶
func FundErc20Handler ¶
func GetDepositNonce ¶
func RegisterResource ¶
func SetBurnable ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.