diff --git a/README.md b/README.md index 435a22ae..49d78f99 100644 --- a/README.md +++ b/README.md @@ -110,31 +110,31 @@ yarn local:test ### Remote Deployment -When deploying these contracts on remote networks (i.e. testnets or mainnets). Refer to [deployment](./scripts/deploy/README.md) or [bootstrap](./scripts/bootstrap/README.md). +When deploying these contracts on remote networks (i.e. testnet or mainnet), refer to the documentation in [deployment](./scripts/deploy/README.md) or [bootstrap](./scripts/bootstrap/README.md). ## Deployed Contract Addresses -Addresses for the core bridge contracts are listed below. For a full list of deployed contracts, see [deployments/](./deployments/). +Addresses for the core bridge contracts are listed below. For a full list of deployed contracts see [deployments/](./deployments) directory. ABIs for contracts can be obtained from the blockchain explorer links for each contract provided below. ### Root Chain -| | Mainnet | Testnet | Devnet | -|------------------------|-----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------| -| Bridge Proxy | TBA | [`0x0D3C59c779Fd552C27b23F723E80246c840100F5`](https://sepolia.etherscan.io/address/0x0d3c59c779fd552c27b23f723e80246c840100f5) | TBA | -| Bridge Implementation | TBA | [`0xac88a57943b5BBa1ecd931F8494cAd0B7F717590`](https://sepolia.etherscan.io/address/0xac88a57943b5bba1ecd931f8494cad0b7f717590#code) | TBA | -| Adaptor Proxy | TBA | [`0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab`](https://sepolia.etherscan.io/address/0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab) | TBA | -| Adaptor Implementation | TBA | [`0xe9ec55e1fC90AB69B2Fb4C029d24a4622B94042e`](https://sepolia.etherscan.io/address/0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab) | TBA | -| Wrapped ETH | [`0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2`](https://etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2) | [`0x7b79995e5f793a07bc00c21412e50ecae098e7f9`](https://sepolia.etherscan.io/address/0x7b79995e5f793a07bc00c21412e50ecae098e7f9) | [`0x7b79995e5f793a07bc00c21412e50ecae098e7f9`](https://sepolia.etherscan.io/address/0x7b79995e5f793a07bc00c21412e50ecae098e7f9) | -| Wrapped IMX | [`0xf57e7e7c23978c3caec3c3548e3d615c346e79ff`](https://etherscan.io/token/0xf57e7e7c23978c3caec3c3548e3d615c346e79ff) | [`0xe2629e08f4125d14e446660028bd98ee60ee69f2`](https://sepolia.etherscan.io/address/0xe2629e08f4125d14e446660028bd98ee60ee69f2) | TBA | +| | Mainnet | Testnet | Devnet | +|------------------------|-------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------| +| Bridge Proxy | [`0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6`](https://etherscan.io/address/0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6) | [`0x0D3C59c779Fd552C27b23F723E80246c840100F5`](https://sepolia.etherscan.io/address/0x0d3c59c779fd552c27b23f723e80246c840100f5) | TBA | +| Bridge Implementation | [`0x177EaFe0f1F3359375B1728dae0530a75C83E154`](https://etherscan.io/address/0x177EaFe0f1F3359375B1728dae0530a75C83E154) | [`0xac88a57943b5BBa1ecd931F8494cAd0B7F717590`](https://sepolia.etherscan.io/address/0xac88a57943b5bba1ecd931f8494cad0b7f717590#code) | TBA | +| Adaptor Proxy | [`0x4f49B53928A71E553bB1B0F66a5BcB54Fd4E8932`](https://etherscan.io/address/0x4f49b53928a71e553bb1b0f66a5bcb54fd4e8932) | [`0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab`](https://sepolia.etherscan.io/address/0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab) | TBA | +| Adaptor Implementation | [`0xE2E91C1Ae2873720C3b975a8034e887A35323345`](https://etherscan.io/address/0xE2E91C1Ae2873720C3b975a8034e887A35323345) | [`0xe9ec55e1fC90AB69B2Fb4C029d24a4622B94042e`](https://sepolia.etherscan.io/address/0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab) | TBA | +| Wrapped ETH | [`0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2`](https://etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2) | [`0x7b79995e5f793a07bc00c21412e50ecae098e7f9`](https://sepolia.etherscan.io/address/0x7b79995e5f793a07bc00c21412e50ecae098e7f9) | [`0x7b79995e5f793a07bc00c21412e50ecae098e7f9`](https://sepolia.etherscan.io/address/0x7b79995e5f793a07bc00c21412e50ecae098e7f9) | +| IMX | [`0xf57e7e7c23978c3caec3c3548e3d615c346e79ff`](https://etherscan.io/token/0xf57e7e7c23978c3caec3c3548e3d615c346e79ff) | [`0xe2629e08f4125d14e446660028bd98ee60ee69f2`](https://sepolia.etherscan.io/address/0xe2629e08f4125d14e446660028bd98ee60ee69f2) | TBA | ### Child Chain -| | Mainnet | Testnet | Devnet | -|------------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------------|--------| -| Bridge Proxy | TBA | [`0x0D3C59c779Fd552C27b23F723E80246c840100F5`](https://explorer.testnet.immutable.com/address/0x0D3C59c779Fd552C27b23F723E80246c840100F5) | TBA | -| Bridge Implementation | TBA | [`0xA554Cf58b9524d43F1dee2fE1b0C928f18A93FE9`](https://explorer.testnet.immutable.com/address/0xA554Cf58b9524d43F1dee2fE1b0C928f18A93FE9) | TBA | -| Adaptor Proxy | TBA | [`0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab`](https://explorer.testnet.immutable.com/address/0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab) | TBA | -| Adaptor Implementation | TBA | [`0xac88a57943b5BBa1ecd931F8494cAd0B7F717590`](https://explorer.testnet.immutable.com/address/0xac88a57943b5BBa1ecd931F8494cAd0B7F717590) | TBA | -| Wrapped ETH | TBA | [`0xe9E96d1aad82562b7588F03f49aD34186f996478`](https://explorer.testnet.immutable.com/address/0xe9E96d1aad82562b7588F03f49aD34186f996478) | TBA | -| Wrapped IMX | TBA | [`0x1CcCa691501174B4A623CeDA58cC8f1a76dc3439`](https://explorer.testnet.immutable.com/address/0x1CcCa691501174B4A623CeDA58cC8f1a76dc3439) | TBA | +| | Mainnet | Testnet | Devnet | +|------------------------|-----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|--------| +| Bridge Proxy | [`0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6`](https://explorer.immutable.com/address/0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6) | [`0x0D3C59c779Fd552C27b23F723E80246c840100F5`](https://explorer.testnet.immutable.com/address/0x0D3C59c779Fd552C27b23F723E80246c840100F5) | TBA | +| Bridge Implementation | [`0xb4c3597e6b090A2f6117780cEd103FB16B071A84`](https://explorer.immutable.com/address/0xb4c3597e6b090A2f6117780cEd103FB16B071A84) | [`0xA554Cf58b9524d43F1dee2fE1b0C928f18A93FE9`](https://explorer.testnet.immutable.com/address/0xA554Cf58b9524d43F1dee2fE1b0C928f18A93FE9) | TBA | +| Adaptor Proxy | [`0x4f49B53928A71E553bB1B0F66a5BcB54Fd4E8932`](https://explorer.immutable.com/address/0x4f49B53928A71E553bB1B0F66a5BcB54Fd4E8932) | [`0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab`](https://explorer.testnet.immutable.com/address/0x6328Ac88ba8D466a0F551FC7C42C61d1aC7f92ab) | TBA | +| Adaptor Implementation | [`0x1d49c44dc4BbDE68D8D51a9C5732f3a24e48EFA6`](https://explorer.immutable.com/address/0x1d49c44dc4BbDE68D8D51a9C5732f3a24e48EFA6) | [`0xac88a57943b5BBa1ecd931F8494cAd0B7F717590`](https://explorer.testnet.immutable.com/address/0xac88a57943b5BBa1ecd931F8494cAd0B7F717590) | TBA | +| Wrapped ETH | [`0x52a6c53869ce09a731cd772f245b97a4401d3348`](https://explorer.immutable.com/address/0x52a6c53869ce09a731cd772f245b97a4401d3348) | [`0xe9E96d1aad82562b7588F03f49aD34186f996478`](https://explorer.testnet.immutable.com/address/0xe9E96d1aad82562b7588F03f49aD34186f996478) | TBA | +| Wrapped IMX | [`0x3a0c2ba54d6cbd3121f01b96dfd20e99d1696c9d`](https://explorer.immutable.com/address/0x3a0c2ba54d6cbd3121f01b96dfd20e99d1696c9d) | [`0x1CcCa691501174B4A623CeDA58cC8f1a76dc3439`](https://explorer.testnet.immutable.com/address/0x1CcCa691501174B4A623CeDA58cC8f1a76dc3439) | TBA | ## Audits The Immutable token bridge has been audited by [Trail of Bits](https://www.trailofbits.com/). The audit report can be found [here](./audits/Trail-of-Bits-2023-12-14.pdf). \ No newline at end of file diff --git a/deployment/mainnet/child-chain-addresses.json b/deployment/mainnet/child-chain-addresses.json deleted file mode 100644 index b953719b..00000000 --- a/deployment/mainnet/child-chain-addresses.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "CHILD_PROXY_ADMIN": "", - "CHILD_BRIDGE_IMPL_ADDRESS": "", - "CHILD_BRIDGE_PROXY_ADDRESS": "", - "CHILD_BRIDGE_ADDRESS": "", - "CHILD_ADAPTOR_IMPL_ADDRESS": "", - "CHILD_ADAPTOR_PROXY_ADDRESS": "", - "CHILD_ADAPTOR_ADDRESS": "", - "CHILD_TOKEN_TEMPLATE": "", - "WRAPPED_IMX_ADDRESS": "", - "CHILD_TEST_CUSTOM_TOKEN": "" -} \ No newline at end of file diff --git a/deployment/mainnet/root-chain-addresses.json b/deployment/mainnet/root-chain-addresses.json deleted file mode 100644 index 0be8a3f5..00000000 --- a/deployment/mainnet/root-chain-addresses.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ROOT_PROXY_ADMIN": "", - "ROOT_BRIDGE_IMPL_ADDRESS": "", - "ROOT_BRIDGE_PROXY_ADDRESS": "", - "ROOT_BRIDGE_ADDRESS": "", - "ROOT_ADAPTOR_IMPL_ADDRESS": "", - "ROOT_ADAPTOR_PROXY_ADDRESS": "", - "ROOT_ADAPTOR_ADDRESS": "", - "ROOT_TOKEN_TEMPLATE": "", - "ROOT_TEST_CUSTOM_TOKEN": "" -} \ No newline at end of file diff --git a/deployment/devnet/child-chain-addresses.json b/deployments/devnet/child-chain-addresses.json similarity index 100% rename from deployment/devnet/child-chain-addresses.json rename to deployments/devnet/child-chain-addresses.json diff --git a/deployment/devnet/root-chain-addresses.json b/deployments/devnet/root-chain-addresses.json similarity index 100% rename from deployment/devnet/root-chain-addresses.json rename to deployments/devnet/root-chain-addresses.json diff --git a/deployments/mainnet/child-chain-addresses.json b/deployments/mainnet/child-chain-addresses.json new file mode 100644 index 00000000..358718f3 --- /dev/null +++ b/deployments/mainnet/child-chain-addresses.json @@ -0,0 +1,12 @@ +{ + "CHILD_PROXY_ADMIN": "0xdE2BCd3F0297d29c25e83228E5A33C0b43b51Ec8", + "CHILD_BRIDGE_IMPL_ADDRESS": "0xb4c3597e6b090A2f6117780cEd103FB16B071A84", + "CHILD_BRIDGE_PROXY_ADDRESS": "0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6", + "CHILD_BRIDGE_ADDRESS": "0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6", + "CHILD_ADAPTOR_IMPL_ADDRESS": "0x1d49c44dc4BbDE68D8D51a9C5732f3a24e48EFA6", + "CHILD_ADAPTOR_PROXY_ADDRESS": "0x4f49B53928A71E553bB1B0F66a5BcB54Fd4E8932", + "CHILD_ADAPTOR_ADDRESS": "0x4f49B53928A71E553bB1B0F66a5BcB54Fd4E8932", + "CHILD_TOKEN_TEMPLATE": "0x8804A8aA1F18f23aE8A456dD73806FdA3219FaD1", + "WRAPPED_IMX_ADDRESS": "0x3A0C2Ba54D6CBd3121F01b96dFd20e99D1696C9D", + "CHILD_TEST_CUSTOM_TOKEN": "" +} \ No newline at end of file diff --git a/deployments/mainnet/root-chain-addresses.json b/deployments/mainnet/root-chain-addresses.json new file mode 100644 index 00000000..8a53397e --- /dev/null +++ b/deployments/mainnet/root-chain-addresses.json @@ -0,0 +1,11 @@ +{ + "ROOT_PROXY_ADMIN": "0xdE2BCd3F0297d29c25e83228E5A33C0b43b51Ec8", + "ROOT_BRIDGE_IMPL_ADDRESS": "0x177EaFe0f1F3359375B1728dae0530a75C83E154", + "ROOT_BRIDGE_PROXY_ADDRESS": "0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6", + "ROOT_BRIDGE_ADDRESS": "0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6", + "ROOT_ADAPTOR_IMPL_ADDRESS": "0xE2E91C1Ae2873720C3b975a8034e887A35323345", + "ROOT_ADAPTOR_PROXY_ADDRESS": "0x4f49B53928A71E553bB1B0F66a5BcB54Fd4E8932", + "ROOT_ADAPTOR_ADDRESS": "0x4f49B53928A71E553bB1B0F66a5BcB54Fd4E8932", + "ROOT_TOKEN_TEMPLATE": "0x8804A8aA1F18f23aE8A456dD73806FdA3219FaD1", + "ROOT_TEST_CUSTOM_TOKEN": "0xA060151cF8c803202d3A6182bDfEF019C8d836e2" +} \ No newline at end of file diff --git a/deployment/testnet/child-chain-addresses.json b/deployments/testnet/child-chain-addresses.json similarity index 100% rename from deployment/testnet/child-chain-addresses.json rename to deployments/testnet/child-chain-addresses.json diff --git a/deployment/testnet/root-chain-addresses.json b/deployments/testnet/root-chain-addresses.json similarity index 100% rename from deployment/testnet/root-chain-addresses.json rename to deployments/testnet/root-chain-addresses.json