Skip to content

Commit 413d631

Browse files
nicholaspaimrice32
andauthored
feat: deploy new CCTP-enabled contracts (#501)
* fix(CircleCCTPAdapter): Split messages into parts under the limit Reads limit for token from token minter, splits amount to send into parts under the limit * Update CircleCCTPAdapter.sol * fix * Update hardhat.config.ts * Update CircleCCTPAdapter.sol * Update CircleCCTPAdapter.sol * fix test Signed-off-by: Matt Rice <[email protected]> * fix * feat: Deploy new CCTP-enabled contracts - Optimism_SpokePool: https://optimistic.etherscan.io/address/0x0fDF0fa7FEA145c6c141BCa763c0D4c2e906b3e1 - Base_SpokePool: https://basescan.org/address/0x9d7B6Ea64E9fAEBEf98170210548A777605EDE87 - Arbitrum_SpokePool: https://arbiscan.io/address/0xa6409A97B1C26d0D1b20a2e0b57325999913f - Polygon_SpokePool: * Update upgradeTo.ts --------- Signed-off-by: Matt Rice <[email protected]> Co-authored-by: Matt Rice <[email protected]>
1 parent 4b086e1 commit 413d631

17 files changed

+2601
-198
lines changed

deploy/002_deploy_optimism_adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
2020
const instance = await deploy("Optimism_Adapter", {
2121
from: deployer,
2222
log: true,
23-
skipIfAlreadyDeployed: true,
23+
skipIfAlreadyDeployed: false,
2424
args: args,
2525
});
2626
await run("verify:verify", { address: instance.address, constructorArguments: args });

deploy/004_deploy_arbitrum_adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
2424
const instance = await deploy("Arbitrum_Adapter", {
2525
from: deployer,
2626
log: true,
27-
skipIfAlreadyDeployed: true,
27+
skipIfAlreadyDeployed: false,
2828
args: [
2929
L1_ADDRESS_MAP[chainId].l1ArbitrumInbox,
3030
L1_ADDRESS_MAP[chainId].l1ERC20GatewayRouter,

deploy/024_deploy_base_adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
2020
const instance = await deploy("Base_Adapter", {
2121
from: deployer,
2222
log: true,
23-
skipIfAlreadyDeployed: true,
23+
skipIfAlreadyDeployed: false,
2424
args,
2525
});
2626
await run("verify:verify", { address: instance.address, constructorArguments: args });

deployments/arbitrum/Arbitrum_SpokePool.json

Lines changed: 50 additions & 19 deletions
Large diffs are not rendered by default.

deployments/arbitrum/solcInputs/578e958b94869490f68fafd0c4b4fdbf.json

Lines changed: 151 additions & 0 deletions
Large diffs are not rendered by default.

deployments/base/Base_SpokePool.json

Lines changed: 70 additions & 39 deletions
Large diffs are not rendered by default.

deployments/base/solcInputs/35e2d392a8a60c37ee7fa8da503c0652.json

Lines changed: 532 additions & 0 deletions
Large diffs are not rendered by default.

deployments/deployments.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
"1": {
33
"AcrossConfigStore": { "address": "0x3B03509645713718B78951126E0A6de6f10043f5", "blockNumber": 14717196 },
44
"AcrossMerkleDistributor": { "address": "0xE50b2cEAC4f60E840Ae513924033E753e2366487", "blockNumber": 15976846 },
5-
"Arbitrum_Adapter": { "address": "0xd881A21F17B83AefFd11cc2e7363740449eb8069", "blockNumber": 19833090 },
5+
"Arbitrum_Adapter": { "address": "0x5473CBD30bEd1Bf97C0c9d7c59d268CD620dA426", "blockNumber": 19915048 },
66
"Arbitrum_RescueAdapter": { "address": "0xC6fA0a4EBd802c01157d6E7fB1bbd2ae196ae375", "blockNumber": 16233939 },
77
"Arbitrum_SendTokensAdapter": { "address": "0xC06A68DF12376271817FcEBfb45Be996B0e1593E", "blockNumber": 16691987 },
88
"Boba_Adapter": { "address": "0x33B0Ec794c15D6Cc705818E70d4CaCe7bCfB5Af3", "blockNumber": 14716798 },
99
"Ethereum_Adapter": { "address": "0x527E872a5c3f0C7c24Fe33F2593cFB890a285084", "blockNumber": 14704381 },
1010
"SpokePool": { "address": "0x5c7BCd6E7De5423a257D81B442095A1a6ced35C5", "blockNumber": 17117454 },
1111
"HubPool": { "address": "0xc186fA914353c44b2E33eBE05f21846F1048bEda", "blockNumber": 14819537 },
1212
"LpTokenFactory": { "address": "0x7dB69eb9F52eD773E9b03f5068A1ea0275b2fD9d", "blockNumber": 14704307 },
13-
"Optimism_Adapter": { "address": "0xb3a4e39F0CD9aBAc5d866f023C18e73224667Fee", "blockNumber": 19833066 },
13+
"Optimism_Adapter": { "address": "0xE1e74B3D6A8E2A479B62958D4E4E6eEaea5B612b", "blockNumber": 19915034 },
1414
"PolygonTokenBridger": { "address": "0x0330E9b4D0325cCfF515E81DFbc7754F2a02ac57", "blockNumber": 14819539 },
15-
"Polygon_Adapter": { "address": "0xB130E3056D5C692300d66c12C10ffA2073d9424D", "blockNumber": 19827511 },
15+
"Polygon_Adapter": { "address": "0xb4AeF0178f5725392A26eE18684C2aB62adc912e", "blockNumber": 19915066 },
1616
"ZkSync_Adapter": { "address": "0xE233009838CB898b50e0012a6E783FC9FeE447FB", "blockNumber": 17842162 },
17-
"Base_Adapter": { "address": "0xD9948AE3405FE03A52A18F119EF72221DCdCc4df", "blockNumber": 19833102 },
17+
"Base_Adapter": { "address": "0xE1421233BF7158A19f89F17c9735F9cbd3D9529c", "blockNumber": 19915087 },
1818
"Linea_Adapter": { "address": "0x7Ea0D1882D610095A45E512B0113f79cA98a8EfE", "blockNumber": 19402413 },
1919
"BondToken": { "address": "0xee1dc6bcf1ee967a350e9ac6caaaa236109002ea", "blockNumber": 17980554 },
2020
"SpokePoolVerifier": { "address": "0xB4A8d45647445EA9FC3E1058096142390683dBC2", "blockNumber": 19510875 }

deployments/mainnet/Arbitrum_Adapter.json

Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.

deployments/mainnet/Base_Adapter.json

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)