Skip to content

Commit 3fc0c1e

Browse files
authored
Merge pull request #48 from bgd-labs/feat/ink
feat: Add Ink deployments
2 parents e231039 + 736c404 commit 3fc0c1e

31 files changed

+271
-22
lines changed

Makefile

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test :; forge test -vvv
1212

1313
# ---------------------------------------------- BASE SCRIPT CONFIGURATION ---------------------------------------------
1414

15-
BASE_LEDGER = --legacy --ledger --mnemonic-indexes $(MNEMONIC_INDEX) --sender $(LEDGER_SENDER)
15+
BASE_LEDGER = --ledger --mnemonic-indexes $(MNEMONIC_INDEX) --sender $(LEDGER_SENDER)
1616
BASE_KEY = --private-key ${PRIVATE_KEY}
1717

1818

@@ -164,11 +164,11 @@ deploy-full:
164164

165165
# Deploy Proxy Factories on all networks
166166
deploy-proxy-factory-test:
167-
$(call deploy_fn,InitialDeployments,sonic)
167+
$(call deploy_fn,InitialDeployments,ink)
168168

169169
# Deploy Cross Chain Infra on all networks
170170
deploy-cross-chain-infra-test:
171-
$(call deploy_fn,ccc/DeployCCC,sonic)
171+
$(call deploy_fn,ccc/DeployCCC,ink)
172172

173173
## Deploy CCIP bridge adapters on all networks
174174
deploy-ccip-bridge-adapters-test:
@@ -216,17 +216,20 @@ deploy-linea-adapters-test:
216216
deploy-mantle-adapters-test:
217217
$(call deploy_fn,adapters/DeployMantleAdapter,mantle)
218218

219+
deploy-ink-adapters-test:
220+
$(call deploy_fn,adapters/DeployInkAdapter,ink)
221+
219222
## Set sender bridge dapters. Only eth pol avax are needed as other networks will only receive
220223
set-ccf-sender-adapters-test:
221224
$(call deploy_fn,ccc/Set_CCF_Sender_Adapters,ethereum)
222225

223226
# Set the bridge adapters allowed to receive messages
224227
set-ccr-receiver-adapters-test:
225-
$(call deploy_fn,ccc/Set_CCR_Receivers_Adapters,sonic)
228+
$(call deploy_fn,ccc/Set_CCR_Receivers_Adapters,ink)
226229

227230
# Sets the required confirmations
228231
set-ccr-confirmations-test:
229-
$(call deploy_fn,ccc/Set_CCR_Confirmations,sonic)
232+
$(call deploy_fn,ccc/Set_CCR_Confirmations,ink)
230233

231234

232235
## Deploy and configure all contracts
@@ -254,7 +257,7 @@ send-direct-message:
254257
$(call deploy_fn,helpers/Send_Direct_CCMessage,ethereum)
255258

256259
deploy_mock_destination:
257-
$(call deploy_fn,helpers/Deploy_Mock_destination,mantle)
260+
$(call deploy_fn,helpers/Deploy_Mock_destination,ink)
258261

259262
set-approved-ccf-senders:
260263
$(call deploy_fn,helpers/Set_Approved_Senders,ethereum)
@@ -269,7 +272,7 @@ send-message-via-adapter:
269272
$(call deploy_fn,helpers/Send_Message_Via_Adapter,ethereum)
270273

271274
deploy_ccc_granular_guardian:
272-
$(call deploy_fn,access_control/network_scripts/GranularGuardianNetworkDeploys,sonic)
275+
$(call deploy_fn,access_control/network_scripts/GranularGuardianNetworkDeploys,ink)
273276

274277
deploy-ccc-revision-and-update:
275278
$(call deploy_fn,CCC/UpdateCCC,ethereum)
@@ -293,4 +296,4 @@ update-owners-and-guardians:
293296
$(call deploy_fn,helpers/Update_Ownership,zksync)
294297

295298
update-ccc-permissions:
296-
$(call deploy_fn,helpers/UpdateCCCPermissions,mantle)
299+
$(call deploy_fn,helpers/UpdateCCCPermissions,ink)

deployments/arbitrum.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"granularCCCGuardian": "0x4922093c476CfbCF903C7C4082d2D64bAE8A37cE",
1414
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
1515
"hlAdapter": "0x0000000000000000000000000000000000000000",
16+
"inkAdapter": "0x0000000000000000000000000000000000000000",
1617
"lineaAdapter": "0x0000000000000000000000000000000000000000",
1718
"lzAdapter": "0x0000000000000000000000000000000000000000",
1819
"mantleAdapter": "0x0000000000000000000000000000000000000000",

deployments/avalanche.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"granularCCCGuardian": "0xc1162BCb2E5E3ca4725512008c7522dF8C8B7B65",
1414
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
1515
"hlAdapter": "0x617332a777780F546261247F621051d0b98975Eb",
16+
"inkAdapter": "0x0000000000000000000000000000000000000000",
1617
"lineaAdapter": "0x0000000000000000000000000000000000000000",
1718
"lzAdapter": "0x10f02995a399C0dC0FaF29914220E9C1bCdE8640",
1819
"mantleAdapter": "0x0000000000000000000000000000000000000000",

deployments/base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"granularCCCGuardian": "0xa1c6aF35E0205f42256382C05243C543FEDBf4bB",
1414
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
1515
"hlAdapter": "0x0000000000000000000000000000000000000000",
16+
"inkAdapter": "0x0000000000000000000000000000000000000000",
1617
"lineaAdapter": "0x0000000000000000000000000000000000000000",
1718
"lzAdapter": "0x0000000000000000000000000000000000000000",
1819
"mantleAdapter": "0x0000000000000000000000000000000000000000",

deployments/binance.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"granularCCCGuardian": "0xe4FB5e3F506BE0095f38004f993D16fdA8224383",
1414
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
1515
"hlAdapter": "0x3F006299eC88985c18E6e885EeA29A49eC579882",
16+
"inkAdapter": "0x0000000000000000000000000000000000000000",
1617
"lineaAdapter": "0x0000000000000000000000000000000000000000",
1718
"lzAdapter": "0xa5cc218513305221201f196760E9e64e9D49d98A",
1819
"mantleAdapter": "0x0000000000000000000000000000000000000000",

deployments/celo.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"granularCCCGuardian": "0xbE815420A63A413BB8D508d8022C0FF150Ea7C39",
1414
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
1515
"hlAdapter": "0x7b065E68E70f346B18636Ab86779980287ec73e0",
16+
"inkAdapter": "0x0000000000000000000000000000000000000000",
1617
"lineaAdapter": "0x0000000000000000000000000000000000000000",
1718
"lzAdapter": "0x83BC62fbeA15B7Bfe11e8eEE57997afA5451f38C",
1819
"mantleAdapter": "0x0000000000000000000000000000000000000000",

deployments/ethereum.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"granularCCCGuardian": "0x4457cA11E90f416Cc1D3a8E1cA41C0cdEcC251d4",
1414
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
1515
"hlAdapter": "0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1",
16+
"inkAdapter": "0x98E78C2cD3013BF13a658E210e27C3732c8Dc48A",
1617
"lineaAdapter": "0x8097555ffDa4176C93FEf92dF473b9763e467686",
1718
"lzAdapter": "0x8FD7D8dd557817966181F584f2abB53549B4ABbe",
1819
"mantleAdapter": "0xb66FA987fa7975Cac3d12B629c9c44e459e50990",

deployments/gnosis.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"granularCCCGuardian": "0x4A9F571E3C1f2F13567bb59e38988e74d7d72602",
1414
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
1515
"hlAdapter": "0xA806DA549FcB2B4912a7dFFE4c1aA7A1ed0Bd5C9",
16+
"inkAdapter": "0x0000000000000000000000000000000000000000",
1617
"lineaAdapter": "0x0000000000000000000000000000000000000000",
1718
"lzAdapter": "0x9b6f5ef589A3DD08670Dd146C11C4Fb33E04494F",
1819
"mantleAdapter": "0x0000000000000000000000000000000000000000",

deployments/ink.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"arbAdapter": "0x0000000000000000000000000000000000000000",
3+
"baseAdapter": "0x0000000000000000000000000000000000000000",
4+
"ccipAdapter": "0x0000000000000000000000000000000000000000",
5+
"chainId": 57073,
6+
"clEmergencyOracle": "0x0000000000000000000000000000000000000000",
7+
"create3Factory": "0x0000000000000000000000000000000000000000",
8+
"crossChainController": "0x990B75fD1a2345D905a385dBC6e17BEe0Cb2f505",
9+
"crossChainControllerImpl": "0xe3b4A252eb26753A2be04a6d0ae4e67888B872ee",
10+
"emergencyRegistry": "0x0000000000000000000000000000000000000000",
11+
"executor": "0x47aAdaAE1F05C978E6aBb7568d11B7F6e0FC4d6A",
12+
"gnosisAdapter": "0x0000000000000000000000000000000000000000",
13+
"granularCCCGuardian": "0xa2bDB2335Faf1940c99654c592B1a80618d79Fc9",
14+
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
15+
"hlAdapter": "0x0000000000000000000000000000000000000000",
16+
"inkAdapter": "0xC2cD4F76B7a77AEaE3C04A9B6B105EC1Ad28e984",
17+
"lineaAdapter": "0x0000000000000000000000000000000000000000",
18+
"lzAdapter": "0x0000000000000000000000000000000000000000",
19+
"mantleAdapter": "0x0000000000000000000000000000000000000000",
20+
"metisAdapter": "0x0000000000000000000000000000000000000000",
21+
"mockDestination": "0x0000000000000000000000000000000000000000",
22+
"opAdapter": "0x0000000000000000000000000000000000000000",
23+
"owner": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
24+
"polAdapter": "0x0000000000000000000000000000000000000000",
25+
"proxyAdminCCC": "0x0C62e1e46E91bB2c277387BcB1b2887ed3267b9c",
26+
"proxyFactory": "0xEB0682d148e874553008730f0686ea89db7DA412",
27+
"sameChainAdapter": "0x0000000000000000000000000000000000000000",
28+
"scrollAdapter": "0x0000000000000000000000000000000000000000",
29+
"wormholeAdapter": "0x0000000000000000000000000000000000000000",
30+
"zkevmAdapter": "0x0000000000000000000000000000000000000000",
31+
"zksyncAdapter": "0x0000000000000000000000000000000000000000"
32+
}

deployments/linea.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"granularCCCGuardian": "0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16",
1414
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
1515
"hlAdapter": "0x0000000000000000000000000000000000000000",
16+
"inkAdapter": "0x0000000000000000000000000000000000000000",
1617
"lineaAdapter": "0xB3332d31ECFC3ef3BF6Cda79833D11d1A53f5cE6",
1718
"lzAdapter": "0x0000000000000000000000000000000000000000",
1819
"mantleAdapter": "0x0000000000000000000000000000000000000000",

0 commit comments

Comments
 (0)