Skip to content

Commit 66f7a1c

Browse files
committed
Deployed mode, redstone, lens and soneium spoke pools
Signed-off-by: Faisal Usmani <[email protected]>
1 parent a6daa38 commit 66f7a1c

File tree

11 files changed

+465
-18
lines changed

11 files changed

+465
-18
lines changed

broadcast/039DeployModeSpokePool.s.sol/34443/run-latest.json

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

broadcast/047DeployRedstoneSpokePool.s.sol/690/run-latest.json

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

broadcast/059DeployLensSpokePool.s.sol/232/run-latest.json

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

broadcast/060DeployCherSpokePool.s.sol/1868/run-latest.json

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

broadcast/deployed-addresses.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"generated_at": "2025-08-22T17:41:10.581Z",
2+
"generated_at": "2025-08-25T19:03:24.725Z",
33
"chains": {
44
"1": {
55
"chain_name": "Mainnet",
@@ -345,9 +345,9 @@
345345
"chain_name": "Lens",
346346
"contracts": {
347347
"SpokePool": {
348-
"address": "0xe7cb3e167e7475dE1331Cf6E0CEb187654619E12",
349-
"transaction_hash": "Unknown",
350-
"block_number": 193290
348+
"address": "0xc7772ce23a3ed7f87fe51b87617c7c7d21f15d39",
349+
"transaction_hash": "0xa4938f34425c997b4686b5bad4f66b04bfbc2270dfe9c00b8f134da6a7b6edf5",
350+
"block_number": 4092265
351351
},
352352
"MulticallHandler": {
353353
"address": "0xc5939F59b3c9662377DdA53A08D5085b2d52b719",
@@ -420,9 +420,9 @@
420420
"chain_name": "Redstone",
421421
"contracts": {
422422
"SpokePool": {
423-
"address": "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97",
424-
"transaction_hash": "Unknown",
425-
"block_number": 5512122
423+
"address": "0x78d8cb7284b14c123a2e81a3246494e8dad873e4",
424+
"transaction_hash": "0xa57c46d87a2f441460948eee80f1301db9881360e82158d1dae50e73f3d32166",
425+
"block_number": 21978768
426426
},
427427
"SpokePoolVerifier": {
428428
"address": "0x3Fb9cED51E968594C87963a371Ed90c39519f65A",
@@ -500,9 +500,9 @@
500500
"chain_name": "Soneium",
501501
"contracts": {
502502
"SpokePool": {
503-
"address": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96",
504-
"transaction_hash": "Unknown",
505-
"block_number": 1709997
503+
"address": "0x48e687205d3962c43891b8cde5a4fe75fa6c8d7a",
504+
"transaction_hash": "0x5e126b5845bf4425d053febf06089e7c02411ee3edf7df6ffa888bc530d85c7f",
505+
"block_number": 11504355
506506
},
507507
"SpokePoolVerifier": {
508508
"address": "0x3Fb9cED51E968594C87963a371Ed90c39519f65A",
@@ -570,9 +570,9 @@
570570
"chain_name": "Mode",
571571
"contracts": {
572572
"SpokePool": {
573-
"address": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96",
574-
"transaction_hash": "Unknown",
575-
"block_number": 8043187
573+
"address": "0xc49226858478de8757e425661b1b5297102330d7",
574+
"transaction_hash": "0x0c14a2fadf82090979edd310e414ba7c7da3558ef1283ad2ec762f0093b5839b",
575+
"block_number": 27988148
576576
},
577577
"SpokePoolVerifier": {
578578
"address": "0x3Fb9cED51E968594C87963a371Ed90c39519f65A",

broadcast/deployed-addresses.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Deployed Contract Addresses
22

3-
Generated on: 2025-08-22T17:41:10.580Z
3+
Generated on: 2025-08-25T19:03:24.724Z
44

55
This file contains the latest deployed smart contract addresses from the broadcast folder.
66

@@ -414,6 +414,12 @@ This file contains the latest deployed smart contract addresses from the broadca
414414
- Transaction Hash: `Unknown`
415415
- Block Number: `2884429`
416416

417+
### 059DeployLensSpokePool.s.sol
418+
419+
- **SpokePool**: `0xc7772ce23a3ed7f87fe51b87617c7c7d21f15d39`
420+
- Transaction Hash: `0xa4938f34425c997b4686b5bad4f66b04bfbc2270dfe9c00b8f134da6a7b6edf5`
421+
- Block Number: `4092265`
422+
417423
### Boba (Chain ID: 288)
418424

419425
### SpokePool
@@ -494,6 +500,12 @@ This file contains the latest deployed smart contract addresses from the broadca
494500
- Transaction Hash: `Unknown`
495501
- Block Number: `16783149`
496502

503+
### 047DeployRedstoneSpokePool.s.sol
504+
505+
- **SpokePool**: `0x78d8cb7284b14c123a2e81a3246494e8dad873e4`
506+
- Transaction Hash: `0xa57c46d87a2f441460948eee80f1301db9881360e82158d1dae50e73f3d32166`
507+
- Block Number: `21978768`
508+
497509
### Lisk (Chain ID: 1135)
498510

499511
### SpokePool
@@ -546,6 +558,12 @@ This file contains the latest deployed smart contract addresses from the broadca
546558
- Transaction Hash: `Unknown`
547559
- Block Number: `8910059`
548560

561+
### 060DeployCherSpokePool.s.sol
562+
563+
- **SpokePool**: `0x48e687205d3962c43891b8cde5a4fe75fa6c8d7a`
564+
- Transaction Hash: `0x5e126b5845bf4425d053febf06089e7c02411ee3edf7df6ffa888bc530d85c7f`
565+
- Block Number: `11504355`
566+
549567
### Base (Chain ID: 8453)
550568

551569
### SpokePool
@@ -604,6 +622,12 @@ This file contains the latest deployed smart contract addresses from the broadca
604622
- Transaction Hash: `Unknown`
605623
- Block Number: `25393939`
606624

625+
### 039DeployModeSpokePool.s.sol
626+
627+
- **SpokePool**: `0xc49226858478de8757e425661b1b5297102330d7`
628+
- Transaction Hash: `0x0c14a2fadf82090979edd310e414ba7c7da3558ef1283ad2ec762f0093b5839b`
629+
- Block Number: `27988148`
630+
607631
### Aleph Zero (Chain ID: 41455)
608632

609633
### SpokePool

script/039DeployModeSpokePool.s.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import { DeploymentUtils } from "./utils/DeploymentUtils.sol";
1212
// 1. `source .env` where `.env` has MNEMONIC="x x x ... x"
1313
// 2. forge script script/039DeployModeSpokePool.s.sol:DeployModeSpokePool --rpc-url $NODE_URL_1 -vvvv
1414
// 3. Verify the above works in simulation mode.
15-
// 4. Deploy with: forge script script/039DeployModeSpokePool.s.sol:DeployModeSpokePool --rpc-url $NODE_URL_1 --broadcast --verify
15+
// 4. Deploy with:
16+
// forge script script/039DeployModeSpokePool.s.sol:DeployModeSpokePool --rpc-url \
17+
// $NODE_URL_1 --broadcast --verify --verifier blockscout --verifier-url https://explorer.mode.network/api
1618

1719
contract DeployModeSpokePool is Script, Test, DeploymentUtils {
1820
function run() external {

script/059DeployLensSpokePool.s.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ contract DeployLensSpokePool is Script, Test, DeploymentUtils {
2626
console.log("HubPool address:", info.hubPool);
2727

2828
// Get the appropriate addresses for this chain
29-
WETH9Interface wgho = getWrappedNativeToken(info.spokeChainId);
29+
address wgho = getWghoAddress(info.spokeChainId);
3030

3131
// Get L2 addresses for Lens
3232
address zkErc20Bridge = getL2Address(info.spokeChainId, "zkErc20Bridge");
@@ -48,7 +48,7 @@ contract DeployLensSpokePool is Script, Test, DeploymentUtils {
4848

4949
// Prepare constructor arguments for Lens_SpokePool
5050
bytes memory constructorArgs = abi.encode(
51-
address(wgho), // _wrappedNativeTokenAddress
51+
wgho, // _wrappedNativeTokenAddress
5252
usdcAddress, // _circleUSDC
5353
zkUSDCBridge, // _zkUSDCBridge
5454
cctpTokenMessenger, // _cctpTokenMessenger

script/060DeployCherSpokePool.s.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import { DeploymentUtils } from "./utils/DeploymentUtils.sol";
1212
// 1. `source .env` where `.env` has MNEMONIC="x x x ... x"
1313
// 2. forge script script/060DeployCherSpokePool.s.sol:DeployCherSpokePool --rpc-url $NODE_URL_1 -vvvv
1414
// 3. Verify the above works in simulation mode.
15-
// 4. Deploy with: forge script script/060DeployCherSpokePool.s.sol:DeployCherSpokePool --rpc-url $NODE_URL_1 --broadcast --verify
15+
// 4. Deploy with:
16+
// forge script script/060DeployCherSpokePool.s.sol:DeployCherSpokePool --rpc-url \
17+
// $NODE_URL_1 --broadcast --verify --verifier blockscout --verifier-url https://soneium.blockscout.com/api
1618

1719
contract DeployCherSpokePool is Script, Test, DeploymentUtils {
1820
function run() external {

script/utils/Constants.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,17 @@ contract Constants is Script {
295295
return vm.parseJsonAddress(file, jsonPath);
296296
}
297297

298+
/**
299+
* @notice Get WGHO address for the given chain
300+
* @param chainId The chain ID to get WGHO address for
301+
* @return The WGHO address
302+
*/
303+
function getWghoAddress(uint256 chainId) public view returns (address) {
304+
string memory chainName = _getChainName(chainId);
305+
string memory jsonPath = string(abi.encodePacked(".wghoAddresses.", chainName));
306+
return vm.parseJsonAddress(file, jsonPath);
307+
}
308+
298309
function getOftEid(uint256 chainId) public view returns (uint256) {
299310
string memory chainName = _getChainName(chainId);
300311
return vm.parseJsonUint(file, string.concat(".oftEids.", chainName));

0 commit comments

Comments
 (0)