Documentation
¶
Index ¶
- func SendBridgeTx(t *testing.T, ac1 *accounts.Account, ac2 *accounts.Account, amount *big.Int, ...) (*types.Transaction, *types.Transaction, error)
- func SendBridgeTxWithNonce(t *testing.T, ac1 *accounts.Account, ac1_nonce uint64, ac2 *accounts.Account, ...) (*types.Transaction, *types.Transaction, error)
- func SendMintTx(t *testing.T, ac *accounts.Account, amount *big.Int, tokenABI abi.ABI) (*types.Transaction, common.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendBridgeTx ¶
func SendBridgeTx( t *testing.T, ac1 *accounts.Account, ac2 *accounts.Account, amount *big.Int, tokenABI abi.ABI, bridgeABI abi.ABI, ) (*types.Transaction, *types.Transaction, error)
SendBridgeTx sends a bridge transaction from ac1 to ac2 with the given amount
func SendBridgeTxWithNonce ¶
func SendBridgeTxWithNonce( t *testing.T, ac1 *accounts.Account, ac1_nonce uint64, ac2 *accounts.Account, ac2_nonce uint64, amount *big.Int, tokenABI abi.ABI, bridgeABI abi.ABI, ) (*types.Transaction, *types.Transaction, error)
SendBridgeTxWithStartingNonce sends a bridge transaction from ac1 to ac2 with the given amount and starting nonce. Can be used to send multiple bridge txs from same account with different nonces.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.