Skip to content

Commit 616c993

Browse files
authored
Merge pull request #650 from superform-xyz/deployRouterPlusStaging
feat: deploy router plus staging
2 parents 8ddcdcb + 32b5aef commit 616c993

File tree

9 files changed

+22
-16
lines changed

9 files changed

+22
-16
lines changed

script/deployments/v1_staging_deployment/10/Optimism-latest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"ERC5115Form": "0x93f5fD75460aC5F0686eBfE22e556F1129F504B0",
3131
"OneInchValidator": "0x480140a26c3eb10F0F17e56495CE588320f45Cfe",
3232
"ERC5115To4626WrapperFactory": "0x14Bc2728DaE89FE7c828833a186DdC5E9AE439C3",
33-
"SuperformRouterPlus": "0x12DCd933886D2Dd2436DDF3E52506872f90f2793",
34-
"SuperformRouterPlusAsync": "0xE3b345E14d063ec58f2A196fa2554a325464F65E"
33+
"SuperformRouterPlus": "0x82D3EF5e1005559fc6D577a730Bb201De1F7Cc6d",
34+
"SuperformRouterPlusAsync": "0x47aa92F7bb7c018046079BDaA94E5618cbCe151f"
3535
}

script/deployments/v1_staging_deployment/250/Fantom-latest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"ERC5115Form": "0x6aA92De361938B0A062E74e068a2028778F17852",
3131
"OneInchValidator": "0x16e9f8549c2b6a026dc2706d746beA76CeFF4098",
3232
"ERC5115To4626WrapperFactory": "0x0df3d7D6daE058667e49C6b85F7b92458Ab06836",
33-
"SuperformRouterPlus": "0x08a3D4F3113D449Bdea59C95cb5F7093175EaFfe",
34-
"SuperformRouterPlusAsync": "0x43C3540828510C0f9A9BEf96F3ac810d7640FEC7"
33+
"SuperformRouterPlus": "0x5223a22BB4EecE74ac4f258cf0a4977eaEB0166A",
34+
"SuperformRouterPlusAsync": "0x4A4a0042e485CBE61ac4BC495Fab5Ca516040e18"
3535
}

script/deployments/v1_staging_deployment/42161/Arbitrum-latest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"ERC5115Form": "0x93f5fD75460aC5F0686eBfE22e556F1129F504B0",
3131
"OneInchValidator": "0x480140a26c3eb10F0F17e56495CE588320f45Cfe",
3232
"ERC5115To4626WrapperFactory": "0x14Bc2728DaE89FE7c828833a186DdC5E9AE439C3",
33-
"SuperformRouterPlus": "0x12DCd933886D2Dd2436DDF3E52506872f90f2793",
34-
"SuperformRouterPlusAsync": "0xE3b345E14d063ec58f2A196fa2554a325464F65E"
33+
"SuperformRouterPlus": "0x82D3EF5e1005559fc6D577a730Bb201De1F7Cc6d",
34+
"SuperformRouterPlusAsync": "0x47aa92F7bb7c018046079BDaA94E5618cbCe151f"
3535
}

script/deployments/v1_staging_deployment/56/Binance-latest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"ERC5115Form": "0x93f5fD75460aC5F0686eBfE22e556F1129F504B0",
3131
"OneInchValidator": "0x480140a26c3eb10F0F17e56495CE588320f45Cfe",
3232
"ERC5115To4626WrapperFactory": "0x14Bc2728DaE89FE7c828833a186DdC5E9AE439C3",
33-
"SuperformRouterPlus": "0x12DCd933886D2Dd2436DDF3E52506872f90f2793",
34-
"SuperformRouterPlusAsync": "0xE3b345E14d063ec58f2A196fa2554a325464F65E"
33+
"SuperformRouterPlus": "0x82D3EF5e1005559fc6D577a730Bb201De1F7Cc6d",
34+
"SuperformRouterPlusAsync": "0x47aa92F7bb7c018046079BDaA94E5618cbCe151f"
3535
}

script/deployments/v1_staging_deployment/59144/Linea-latest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"VaultClaimer": "0xf1930eD240cF9c4F1840aDB689E5d231687922C5",
3131
"WormholeARImplementation": "0x0000000000000000000000000000000000000000",
3232
"WormholeSRImplementation": "0x0000000000000000000000000000000000000000",
33-
"SuperformRouterPlus": "0x12DCd933886D2Dd2436DDF3E52506872f90f2793",
34-
"SuperformRouterPlusAsync": "0xE3b345E14d063ec58f2A196fa2554a325464F65E"
33+
"SuperformRouterPlus": "0x82D3EF5e1005559fc6D577a730Bb201De1F7Cc6d",
34+
"SuperformRouterPlusAsync": "0x47aa92F7bb7c018046079BDaA94E5618cbCe151f"
3535
}

script/deployments/v1_staging_deployment/81457/Blast-latest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"VaultClaimer": "0xf1930eD240cF9c4F1840aDB689E5d231687922C5",
3131
"WormholeARImplementation": "0x71ec658F19AcF74D258c55A025ADC534c34EcaDA",
3232
"WormholeSRImplementation": "0x44b451Ca87267a62A0C853ECFbaaC1C3E528a82C",
33-
"SuperformRouterPlus": "0x12DCd933886D2Dd2436DDF3E52506872f90f2793",
34-
"SuperformRouterPlusAsync": "0xE3b345E14d063ec58f2A196fa2554a325464F65E"
33+
"SuperformRouterPlus": "0x82D3EF5e1005559fc6D577a730Bb201De1F7Cc6d",
34+
"SuperformRouterPlusAsync": "0x47aa92F7bb7c018046079BDaA94E5618cbCe151f"
3535
}

script/deployments/v1_staging_deployment/8453/Base-latest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"ERC5115Form": "0x93f5fD75460aC5F0686eBfE22e556F1129F504B0",
3131
"OneInchValidator": "0x480140a26c3eb10F0F17e56495CE588320f45Cfe",
3232
"ERC5115To4626WrapperFactory": "0x14Bc2728DaE89FE7c828833a186DdC5E9AE439C3",
33-
"SuperformRouterPlus": "0x12DCd933886D2Dd2436DDF3E52506872f90f2793",
34-
"SuperformRouterPlusAsync": "0xE3b345E14d063ec58f2A196fa2554a325464F65E"
33+
"SuperformRouterPlus": "0x82D3EF5e1005559fc6D577a730Bb201De1F7Cc6d",
34+
"SuperformRouterPlusAsync": "0x47aa92F7bb7c018046079BDaA94E5618cbCe151f"
3535
}

script/forge-scripts/misc/Abstract.Deploy.RouterPlus.s.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ abstract contract AbstractDeployRouterPlus is EnvironmentUtils {
5555
SuperRegistry(superRegistry).setAddress(
5656
keccak256("SUPERFORM_ROUTER_PLUS_ASYNC"), superformRouterPlusAsync, vars.chainId
5757
);
58+
59+
/// @dev below part is already done
60+
/*
5861
SuperRegistry(superRegistry).setAddress(
5962
keccak256("ROUTER_PLUS_PROCESSOR_ROLE"), ROUTER_PLUS_PROCESSOR, vars.chainId
6063
);
@@ -63,6 +66,7 @@ abstract contract AbstractDeployRouterPlus is EnvironmentUtils {
6366
6467
vars.superRBACC.setRoleAdmin(keccak256("ROUTER_PLUS_PROCESSOR_ROLE"), vars.superRBACC.PROTOCOL_ADMIN_ROLE());
6568
vars.superRBACC.grantRole(keccak256("ROUTER_PLUS_PROCESSOR_ROLE"), ROUTER_PLUS_PROCESSOR);
69+
*/
6670

6771
vm.stopBroadcast();
6872

script/utils/misc/run_script_mainnet_staging_routerplus.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export BLAST_RPC_URL=$(op read op://5ylebqljbh3x6zomdxi3qd7tsa/BLAST_RPC_URL/cre
1414

1515
# Run the script
1616
echo Deploying Router Plus and Router Plus Async: ...
17+
<<c
1718
FOUNDRY_PROFILE=production forge script script/forge-scripts/misc/Mainnet.Deploy.SuperformRouterPlus.s.sol:MainnetDeployRouterPlus --sig "deployRouterPlus(uint256,uint256,uint256)" 1 0 0 --rpc-url $BSC_RPC_URL --slow --broadcast --account default --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
1819
wait
1920
@@ -31,10 +32,10 @@ wait
3132
3233
FOUNDRY_PROFILE=production forge script script/forge-scripts/misc/Mainnet.Deploy.SuperformRouterPlus.s.sol:MainnetDeployRouterPlus --sig "deployRouterPlus(uint256,uint256,uint256)" 1 5 0 --rpc-url $LINEA_RPC_URL --slow --broadcast --account default --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
3334
wait
34-
35+
c
3536
FOUNDRY_PROFILE=production forge script script/forge-scripts/misc/Mainnet.Deploy.SuperformRouterPlus.s.sol:MainnetDeployRouterPlus --sig "deployRouterPlus(uint256,uint256,uint256)" 1 6 0 --rpc-url $BLAST_RPC_URL --slow --broadcast --account default --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
3637
wait
37-
38+
<<c
3839
FOUNDRY_PROFILE=production forge script script/forge-scripts/misc/Mainnet.Deploy.SuperformRouterPlus.s.sol:MainnetDeployRouterPlus --sig "configureRouterPlusProcessor(uint256,uint256,uint256)" 1 0 0 --rpc-url $BSC_RPC_URL --slow --broadcast --account default --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
3940
wait
4041
@@ -55,3 +56,4 @@ wait
5556
5657
FOUNDRY_PROFILE=production forge script script/forge-scripts/misc/Mainnet.Deploy.SuperformRouterPlus.s.sol:MainnetDeployRouterPlus --sig "configureRouterPlusProcessor(uint256,uint256,uint256)" 1 6 0 --rpc-url $BLAST_RPC_URL --slow --broadcast --account default --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
5758
wait
59+
c

0 commit comments

Comments
 (0)