package
1.0.8
Repository: https://github.com/ava-labs/icm-contracts.git
Documentation: pkg.go.dev

# Functions

* * Deploy an ERC20TokenHome on the primary network * Deploys ERC20TokenRemote to L1 A * Transfers C-Chain example ERC20 tokens to L1 A * Transfer tokens from L1 A to C-Chain */.
* * Deploy a ERC20 token home on the primary network * Deploys ERC20 token remote to L1 A and L1 B * Transfers C-Chain example ERC20 tokens to L1 A * Transfer tokens from L1 A to L1 B through multi-hop * Transfer back tokens from L1 B to L1 A through multi-hop */.
* * Deploy an ERC20TokenHome on the primary network * Deploys ERC20TokenRemote to L1 A * Transfers C-Chain example ERC20 tokens to L1 A and calls contract on L1 A using sendAndCall * Transfers C-Chain example ERC20 to EOA on L1 A, and then transfer tokens from L1 A back * C-Chain and calls contract on the C-Chain using sendAndCall */.
* * Deploy a ERC20Token on the primary network * Deploys NativeTokenRemote to L1 A and L1 B * Transfers C-Chain example ERC20 tokens to L1 A as L1 A's native token * Transfer back tokens from L1 A to C-Chain */.
* - Deploy a ERC20TokenHome on the primary network - Deploys NativeTokenRemote toA and L1 B - Transfers C-Chain example ERC20 tokens to L1 A as L1 A's native token - Transfers C-Chain example ERC20 tokens to L1 B as L1 B's native token to collateralize the token transferrer on L1 B - Transfer tokens from L1 A to L1 B through multi-hop - Transfer back tokens from L1 B to L1 A through multi-hop */.
* * Deploy a NativeTokenHome on the primary network * Deploys ERC20TokenRemote to L1 A * Transfers C-Chain native tokens to L1 A * Transfer back tokens from L1 A to C-Chain */.
* * Deploy a NativeTokenHome on the primary network * Deploys ERC20TokenRemote to L1 A and L1 B * Transfers C-Chain native tokens to L1 A * Transfer tokens from L1 A to L1 B through multi-hop * Brige back tokens from L1 B to L1 A through multi-hop */.
* * Deploy a NativeTokenHome on the primary network * Deploys a NativeTokenRemote to L1 A * Transfers C-Chain native tokens to L1 A * Transfer back tokens from L1 A to C-Chain */.
* - Deploy a NativeTokenHome on the primary network - Deploys NativeTokenRemote to L1 A and L1 B - Transfers native tokens from the C-Chain to L1 A as L1 A's native token - Transfers native tokens from the C-Chain to L1 B as L1 B's native token to collateralize the L1 B token transferrer - Transfer tokens from L1 A to L1 B through multi-hop - Transfer back tokens from L1 B to L1 A through multi-hop */.
* * Deploys an ERC20TokenHome contract on the C-Chain * Deploys an ERC20TokenRemote contract on L1 A * Check sending to unregistered remote fails * Register the ERC20TokenRemote to home contract * Check sending to non-collateralized remote fails * Collateralize the remote * Check sending to collateralized remote succeeds and withdraws with correct scale.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author