Versions in this module Expand all Collapse all v1 v1.0.0 Sep 27, 2020 Changes in this version + var TestTimeout = time.Second * 15 + func AddRelayer(t *testing.T, client *utils.Client, relayer types.AccountID) + func AssertBalanceOf(t *testing.T, client *utils.Client, publicKey []byte, expected *big.Int) + func AssertErc721Metadata(t *testing.T, client *utils.Client, id *big.Int, expected types.Bytes) + func AssertErc721NonExistence(t *testing.T, client *utils.Client, id *big.Int) + func AssertOwnerOf(t *testing.T, client *utils.Client, tokenId *big.Int, expected types.AccountID) + func BalanceOf(t *testing.T, client *utils.Client, publicKey []byte) *big.Int + func CreateClient(t *testing.T, key *signature.KeyringPair, endpoint string) *utils.Client + func EnsureInitializedChain(t *testing.T, client *utils.Client, relayers []types.AccountID, ...) + func GetDepositNonce(t *testing.T, client *utils.Client, chain msg.ChainId) uint64 + func InitiateHashTransfer(t *testing.T, client *utils.Client, hash types.Hash, destId msg.ChainId) + func InitiateNativeTransfer(t *testing.T, client *utils.Client, amount types.U128, recipient []byte, ...) + func InitiateNonFungibleTransfer(t *testing.T, client *utils.Client, tokenId types.U256, recipient []byte, ...) + func MintErc721(t *testing.T, client *utils.Client, tokenId *big.Int, metadata []byte, ...) + func NewNativeTransferCall(t *testing.T, client *utils.Client, amount types.U128, recipient []byte, ...) types.Call + func QueryConst(t *testing.T, client *utils.Client, prefix, name string, res interface{}) + func QueryStorage(t *testing.T, client *utils.Client, prefix, method string, arg1, arg2 []byte, ...) bool + func RegisterResource(t *testing.T, client *utils.Client, id msg.ResourceId, method string) + func WaitForRemarkEvent(t *testing.T, client *utils.Client, hash types.Hash) + func WhitelistChain(t *testing.T, client *utils.Client, id msg.ChainId)