Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Interim deployment #436

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ TENDERLY_ACCESS_KEY=
POLYGONSCAN_API=
SNOWTRACE_API=
BSCSCAN_API=
BASESCAN_API=
ARBISCAN_API=
OPSCAN_API=
ETHEREUM_API=
12 changes: 6 additions & 6 deletions script/Abstract.Deploy.Single.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ abstract contract AbstractDeploySingle is Script {

uint64[] public chainIds = [1, 56, 43_114, 137, 42_161, 10, 8453, 100];
string[] public chainNames =
["Ethereum", "Binance", "Avalanche", "Polygon", "Arbitrum", "Optimism", "Fantom", "Base", "Gnosis"];
["Ethereum", "Binance", "Avalanche", "Polygon", "Arbitrum", "Optimism", "Base", "Gnosis"];

/// @dev vendor chain ids
uint16[] public lz_chainIds = [101, 102, 106, 109, 110, 111, 184, 145];
Expand Down Expand Up @@ -321,7 +321,7 @@ abstract contract AbstractDeploySingle is Script {
if (cycle == Cycle.Dev) {
(ownerAddress, deployerPrivateKey) = makeAddrAndKey("tenderly");
} else {
deployerPrivateKey = vm.envUint("DEPLOYER_KEY");
//deployerPrivateKey = vm.envUint("DEPLOYER_KEY");
ownerAddress = vm.envAddress("OWNER_ADDRESS");
}

Expand Down Expand Up @@ -372,7 +372,7 @@ abstract contract AbstractDeploySingle is Script {

vars.ambAddresses = new address[](ambIds.length);

vm.startBroadcast(deployerPrivateKey);
cycle == Cycle.Dev ? vm.startBroadcast(deployerPrivateKey) : vm.startBroadcast();

/// @dev 1 - Deploy SuperRBAC
vars.superRBAC = address(
Expand Down Expand Up @@ -695,7 +695,7 @@ abstract contract AbstractDeploySingle is Script {
//
vars.chainId = targetDeploymentChains[i];

vm.startBroadcast(deployerPrivateKey);
cycle == Cycle.Dev ? vm.startBroadcast(deployerPrivateKey) : vm.startBroadcast();

vars.lzImplementation = _readContract(chainNames[trueIndex], vars.chainId, "LayerzeroImplementation");
vars.hyperlaneImplementation = _readContract(chainNames[trueIndex], vars.chainId, "HyperlaneImplementation");
Expand Down Expand Up @@ -749,7 +749,7 @@ abstract contract AbstractDeploySingle is Script {

vars.chainId = s_superFormChainIds[i];

vm.startBroadcast(deployerPrivateKey);
cycle == Cycle.Dev ? vm.startBroadcast(deployerPrivateKey) : vm.startBroadcast();

SuperRBAC srbac = SuperRBAC(payable(_readContract(chainNames[trueIndex], vars.chainId, "SuperRBAC")));
bytes32 protocolAdminRole = srbac.PROTOCOL_ADMIN_ROLE();
Expand Down Expand Up @@ -781,7 +781,7 @@ abstract contract AbstractDeploySingle is Script {

vars.chainId = previousDeploymentChains[i];

vm.startBroadcast(deployerPrivateKey);
cycle == Cycle.Dev ? vm.startBroadcast(deployerPrivateKey) : vm.startBroadcast();

vars.lzImplementation = _readContract(chainNames[trueIndex], vars.chainId, "LayerzeroImplementation");
vars.hyperlaneImplementation = _readContract(chainNames[trueIndex], vars.chainId, "HyperlaneImplementation");
Expand Down
4 changes: 2 additions & 2 deletions script/Mainnet.Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ contract MainnetDeploy is AbstractDeploySingle {
SELECT CHAIN IDS TO DEPLOY HERE
//////////////////////////////////////////////////////////////*/

uint64[] TARGET_DEPLOYMENT_CHAINS = [BSC, POLY, AVAX];
uint64[] TARGET_DEPLOYMENT_CHAINS = [OP, ARBI, BASE];

///@dev ORIGINAL SALT
bytes32 constant salt = "NO_SLEEP_VIK";
bytes32 constant salt = "NO_SLEEP_VIK2";

/// @notice The main stage 1 script entrypoint
function deployStage1(uint256 selectedChainIndex) external {
Expand Down
20 changes: 20 additions & 0 deletions script/output/1/Ethereum-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"CoreStateRegistry": "0xab44A3F50826EB801A597Be3155542cfE3Bb7499",
"DstSwapper": "0x975196dB1a809504D157235b13FD4da2c649d664",
"ERC4626Form": "0x3CAF17C85beed460c223Fd2D898b98977216446d",
"EmergencyQueue": "0x8f4c0F5b0304C794Aa7495189f15D8f15d821e4C",
"HyperlaneImplementation": "0xcf83dfA5eFC0f6F2fc1F69F2Be499e4fe58C8080",
"LayerzeroImplementation": "0x37E5010D6a071c628F5f680D6F3AbABba303A21f",
"LiFiValidator": "0x862ef90A8d1a195dEc6ef4Ddb2863391376D9Bae",
"PayMaster": "0xD233799762D18FD3dfE882f380b50324ce956143",
"PayloadHelper": "0x58c8783782605B35DBb8151A66669540320DE303",
"PaymentHelper": "0x01a5A9894054A294096d8FaCA56EB15BFFC32161",
"SocketValidator": "0xF2E65F8dDa56d9aC3F10667767669F7829922C10",
"SuperPositions": "0x9D8254c1d5ae244562cf5f68cf21Cf214f47C1aE",
"SuperRBAC": "0x5B53a9C36CFD6e5A04FFbA20e55fD38D0a595D86",
"SuperRegistry": "0x0637106F5149258B92a89211a7F99da2607Db393",
"SuperformFactory": "0xB4b00A667B4a6A836F5e279f7438a341981D791b",
"SuperformRouter": "0x8d915Fac3ed7aE33554f3880c69A36276E27e76d",
"VaultClaimer": "0x7a37ddbeAd9cf87Efc4138c70A2dD91589ba5226",
"WormholeARImplementation": "0xfbF1504896511dBb1CBCFe5f0A71F87C8C0E1b25"
}
20 changes: 20 additions & 0 deletions script/output/10/Optimism-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"CoreStateRegistry": "0x41933290F00390578A35EEa9E8a37B5b48926b5d",
"DstSwapper": "0xAD92C9A55225F3bAEE9D4f1cB807872eE8af3D18",
"ERC4626Form": "0x5ed70013DA6aa2c076b2d3853Eb17704CAb8c233",
"EmergencyQueue": "0x8f24b0010E18915409B7056C9f6D264503BFEa33",
"HyperlaneImplementation": "0x46968109F3b193AcE4EB1a28076b372A8951345C",
"LayerzeroImplementation": "0x454866FfCA61EE5C874df00b387858Da646b5ec9",
"LiFiValidator": "0xE438D85618bEb99054DaeB14d2CBD976F77F360F",
"PayMaster": "0x3Fdf950794Ce55088f4b708F6D5312DF79fFf585",
"PayloadHelper": "0x0d002293422E020c3AE3CEF3E63e2CA4Dd31FB00",
"PaymentHelper": "0xf445548FC5cC3D6a4c70bb4A0aC89241370Ba2f3",
"SocketValidator": "0x63eb5584bae6dBa0610F953Ff5d2EB11e8f8B920",
"SuperPositions": "0xD64e2FB22ADf73Ce1F23E93D08E93dc826C947bc",
"SuperRBAC": "0x329788cd153E9874cfb65294C4B8EE7aDA329f60",
"SuperRegistry": "0x617950dcf1Ca6177C06E100b7a1452c8906A9Ec5",
"SuperformFactory": "0xdc072816dF2812Ab30Fce59E31B2Af27d0fAB575",
"SuperformRouter": "0xF62c937ec43385152843aFa3707833bB4CfEE4E9",
"VaultClaimer": "0x2EA3C881C91E1529329413D57E1B280D45E51dDD",
"WormholeARImplementation": "0x039f3EBd7E0E86c235dEf8eff2FaEA8d8D974F9B"
}
20 changes: 20 additions & 0 deletions script/output/42161/Arbitrum-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"CoreStateRegistry": "0x41933290F00390578A35EEa9E8a37B5b48926b5d",
"DstSwapper": "0xAD92C9A55225F3bAEE9D4f1cB807872eE8af3D18",
"ERC4626Form": "0x5ed70013DA6aa2c076b2d3853Eb17704CAb8c233",
"EmergencyQueue": "0x8f24b0010E18915409B7056C9f6D264503BFEa33",
"HyperlaneImplementation": "0x46968109F3b193AcE4EB1a28076b372A8951345C",
"LayerzeroImplementation": "0x454866FfCA61EE5C874df00b387858Da646b5ec9",
"LiFiValidator": "0xE438D85618bEb99054DaeB14d2CBD976F77F360F",
"PayMaster": "0x3Fdf950794Ce55088f4b708F6D5312DF79fFf585",
"PayloadHelper": "0x0d002293422E020c3AE3CEF3E63e2CA4Dd31FB00",
"PaymentHelper": "0xf445548FC5cC3D6a4c70bb4A0aC89241370Ba2f3",
"SocketValidator": "0x63eb5584bae6dBa0610F953Ff5d2EB11e8f8B920",
"SuperPositions": "0xD64e2FB22ADf73Ce1F23E93D08E93dc826C947bc",
"SuperRBAC": "0x329788cd153E9874cfb65294C4B8EE7aDA329f60",
"SuperRegistry": "0x617950dcf1Ca6177C06E100b7a1452c8906A9Ec5",
"SuperformFactory": "0xdc072816dF2812Ab30Fce59E31B2Af27d0fAB575",
"SuperformRouter": "0xF62c937ec43385152843aFa3707833bB4CfEE4E9",
"VaultClaimer": "0x2EA3C881C91E1529329413D57E1B280D45E51dDD",
"WormholeARImplementation": "0x039f3EBd7E0E86c235dEf8eff2FaEA8d8D974F9B"
}
20 changes: 20 additions & 0 deletions script/output/8453/Base-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"CoreStateRegistry": "0x41933290F00390578A35EEa9E8a37B5b48926b5d",
"DstSwapper": "0xAD92C9A55225F3bAEE9D4f1cB807872eE8af3D18",
"ERC4626Form": "0x5ed70013DA6aa2c076b2d3853Eb17704CAb8c233",
"EmergencyQueue": "0x8f24b0010E18915409B7056C9f6D264503BFEa33",
"HyperlaneImplementation": "0x46968109F3b193AcE4EB1a28076b372A8951345C",
"LayerzeroImplementation": "0x454866FfCA61EE5C874df00b387858Da646b5ec9",
"LiFiValidator": "0xE438D85618bEb99054DaeB14d2CBD976F77F360F",
"PayMaster": "0x3Fdf950794Ce55088f4b708F6D5312DF79fFf585",
"PayloadHelper": "0x0d002293422E020c3AE3CEF3E63e2CA4Dd31FB00",
"PaymentHelper": "0xf445548FC5cC3D6a4c70bb4A0aC89241370Ba2f3",
"SocketValidator": "0x63eb5584bae6dBa0610F953Ff5d2EB11e8f8B920",
"SuperPositions": "0xD64e2FB22ADf73Ce1F23E93D08E93dc826C947bc",
"SuperRBAC": "0x329788cd153E9874cfb65294C4B8EE7aDA329f60",
"SuperRegistry": "0x617950dcf1Ca6177C06E100b7a1452c8906A9Ec5",
"SuperformFactory": "0xdc072816dF2812Ab30Fce59E31B2Af27d0fAB575",
"SuperformRouter": "0xF62c937ec43385152843aFa3707833bB4CfEE4E9",
"VaultClaimer": "0x2EA3C881C91E1529329413D57E1B280D45E51dDD",
"WormholeARImplementation": "0x039f3EBd7E0E86c235dEf8eff2FaEA8d8D974F9B"
}
20 changes: 20 additions & 0 deletions script/pre-launch_deployment/10/Optimism-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"CoreStateRegistry": "0x41933290F00390578A35EEa9E8a37B5b48926b5d",
"DstSwapper": "0xAD92C9A55225F3bAEE9D4f1cB807872eE8af3D18",
"ERC4626Form": "0x5ed70013DA6aa2c076b2d3853Eb17704CAb8c233",
"EmergencyQueue": "0x8f24b0010E18915409B7056C9f6D264503BFEa33",
"HyperlaneImplementation": "0x46968109F3b193AcE4EB1a28076b372A8951345C",
"LayerzeroImplementation": "0x454866FfCA61EE5C874df00b387858Da646b5ec9",
"LiFiValidator": "0xE438D85618bEb99054DaeB14d2CBD976F77F360F",
"PayMaster": "0x3Fdf950794Ce55088f4b708F6D5312DF79fFf585",
"PayloadHelper": "0x0d002293422E020c3AE3CEF3E63e2CA4Dd31FB00",
"PaymentHelper": "0xf445548FC5cC3D6a4c70bb4A0aC89241370Ba2f3",
"SocketValidator": "0x63eb5584bae6dBa0610F953Ff5d2EB11e8f8B920",
"SuperPositions": "0xD64e2FB22ADf73Ce1F23E93D08E93dc826C947bc",
"SuperRBAC": "0x329788cd153E9874cfb65294C4B8EE7aDA329f60",
"SuperRegistry": "0x617950dcf1Ca6177C06E100b7a1452c8906A9Ec5",
"SuperformFactory": "0xdc072816dF2812Ab30Fce59E31B2Af27d0fAB575",
"SuperformRouter": "0xF62c937ec43385152843aFa3707833bB4CfEE4E9",
"VaultClaimer": "0x2EA3C881C91E1529329413D57E1B280D45E51dDD",
"WormholeARImplementation": "0x039f3EBd7E0E86c235dEf8eff2FaEA8d8D974F9B"
}
20 changes: 20 additions & 0 deletions script/pre-launch_deployment/42161/Arbitrum-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"CoreStateRegistry": "0x41933290F00390578A35EEa9E8a37B5b48926b5d",
"DstSwapper": "0xAD92C9A55225F3bAEE9D4f1cB807872eE8af3D18",
"ERC4626Form": "0x5ed70013DA6aa2c076b2d3853Eb17704CAb8c233",
"EmergencyQueue": "0x8f24b0010E18915409B7056C9f6D264503BFEa33",
"HyperlaneImplementation": "0x46968109F3b193AcE4EB1a28076b372A8951345C",
"LayerzeroImplementation": "0x454866FfCA61EE5C874df00b387858Da646b5ec9",
"LiFiValidator": "0xE438D85618bEb99054DaeB14d2CBD976F77F360F",
"PayMaster": "0x3Fdf950794Ce55088f4b708F6D5312DF79fFf585",
"PayloadHelper": "0x0d002293422E020c3AE3CEF3E63e2CA4Dd31FB00",
"PaymentHelper": "0xf445548FC5cC3D6a4c70bb4A0aC89241370Ba2f3",
"SocketValidator": "0x63eb5584bae6dBa0610F953Ff5d2EB11e8f8B920",
"SuperPositions": "0xD64e2FB22ADf73Ce1F23E93D08E93dc826C947bc",
"SuperRBAC": "0x329788cd153E9874cfb65294C4B8EE7aDA329f60",
"SuperRegistry": "0x617950dcf1Ca6177C06E100b7a1452c8906A9Ec5",
"SuperformFactory": "0xdc072816dF2812Ab30Fce59E31B2Af27d0fAB575",
"SuperformRouter": "0xF62c937ec43385152843aFa3707833bB4CfEE4E9",
"VaultClaimer": "0x2EA3C881C91E1529329413D57E1B280D45E51dDD",
"WormholeARImplementation": "0x039f3EBd7E0E86c235dEf8eff2FaEA8d8D974F9B"
}
20 changes: 20 additions & 0 deletions script/pre-launch_deployment/8453/Base-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"CoreStateRegistry": "0x41933290F00390578A35EEa9E8a37B5b48926b5d",
"DstSwapper": "0xAD92C9A55225F3bAEE9D4f1cB807872eE8af3D18",
"ERC4626Form": "0x5ed70013DA6aa2c076b2d3853Eb17704CAb8c233",
"EmergencyQueue": "0x8f24b0010E18915409B7056C9f6D264503BFEa33",
"HyperlaneImplementation": "0x46968109F3b193AcE4EB1a28076b372A8951345C",
"LayerzeroImplementation": "0x454866FfCA61EE5C874df00b387858Da646b5ec9",
"LiFiValidator": "0xE438D85618bEb99054DaeB14d2CBD976F77F360F",
"PayMaster": "0x3Fdf950794Ce55088f4b708F6D5312DF79fFf585",
"PayloadHelper": "0x0d002293422E020c3AE3CEF3E63e2CA4Dd31FB00",
"PaymentHelper": "0xf445548FC5cC3D6a4c70bb4A0aC89241370Ba2f3",
"SocketValidator": "0x63eb5584bae6dBa0610F953Ff5d2EB11e8f8B920",
"SuperPositions": "0xD64e2FB22ADf73Ce1F23E93D08E93dc826C947bc",
"SuperRBAC": "0x329788cd153E9874cfb65294C4B8EE7aDA329f60",
"SuperRegistry": "0x617950dcf1Ca6177C06E100b7a1452c8906A9Ec5",
"SuperformFactory": "0xdc072816dF2812Ab30Fce59E31B2Af27d0fAB575",
"SuperformRouter": "0xF62c937ec43385152843aFa3707833bB4CfEE4E9",
"VaultClaimer": "0x2EA3C881C91E1529329413D57E1B280D45E51dDD",
"WormholeARImplementation": "0x039f3EBd7E0E86c235dEf8eff2FaEA8d8D974F9B"
}
10 changes: 5 additions & 5 deletions test/unit/super-registry/SuperRegistry.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ contract SuperRegistryTest is BaseSetup {
address[] memory bridgeAddress = new address[](3);
address[] memory bridgeValidator = new address[](3);

bridgeId[0] = 8;
bridgeId[0] = 20;
bridgeAddress[0] = address(0x1);
bridgeValidator[0] = address(0x2);
bridgeId[1] = 6;
bridgeId[1] = 30;
bridgeAddress[1] = address(0x3);
bridgeValidator[1] = address(0x4);
bridgeId[2] = 7;
bridgeId[2] = 40;
bridgeAddress[2] = address(0x5);
bridgeValidator[2] = address(0x6);

Expand All @@ -161,8 +161,8 @@ contract SuperRegistryTest is BaseSetup {
superRegistry.setBridgeAddresses(bridgeId, bridgeAddress, bridgeValidator);
vm.prank(deployer);

assertEq(superRegistry.getBridgeAddress(6), address(0x3));
assertEq(superRegistry.getBridgeValidator(7), address(0x6));
assertEq(superRegistry.getBridgeAddress(30), address(0x3));
assertEq(superRegistry.getBridgeValidator(40), address(0x6));

vm.expectRevert(Error.NOT_PROTOCOL_ADMIN.selector);
vm.prank(bond);
Expand Down
24 changes: 10 additions & 14 deletions utils/run_script_mainnet.sh
Original file line number Diff line number Diff line change
@@ -1,50 +1,46 @@
#!/usr/bin/env bash
# Note: How to set defaultKey - https://www.youtube.com/watch?v=VQe7cIpaE54

# Read the RPC URL
source .env


# Run the script
echo Running Stage 1: ...

FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage1(uint256)" 0 --rpc-url $BSC_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage1(uint256)" 0 --rpc-url $OPTIMISM_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

wait

FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage1(uint256)" 1 --rpc-url $POLYGON_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage1(uint256)" 1 --rpc-url $ARBITRUM_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

wait

FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage1(uint256)" 2 --rpc-url $AVALANCHE_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage1(uint256)" 2 --rpc-url $BASE_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

wait


echo Running Stage 2: ...


FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage2(uint256)" 0 --rpc-url $BSC_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage2(uint256)" 0 --rpc-url $OPTIMISM_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

wait

FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage2(uint256)" 1 --rpc-url $POLYGON_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage2(uint256)" 1 --rpc-url $ARBITRUM_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

wait

FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage2(uint256)" 2 --rpc-url $AVALANCHE_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage2(uint256)" 2 --rpc-url $BASE_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

wait

echo Running Stage 3: ...


FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage3(uint256)" 0 --rpc-url $BSC_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage3(uint256)" 0 --rpc-url $OPTIMISM_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

wait

FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage3(uint256)" 1 --rpc-url $POLYGON_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage3(uint256)" 1 --rpc-url $ARBITRUM_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

wait

FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage3(uint256)" 2 --rpc-url $AVALANCHE_RPC_URL --broadcast --slow --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92

FOUNDRY_PROFILE=default forge script script/Mainnet.Deploy.s.sol:MainnetDeploy --sig "deployStage3(uint256)" 2 --rpc-url $BASE_RPC_URL --broadcast --slow --account defaultKey --sender 0x48aB8AdF869Ba9902Ad483FB1Ca2eFDAb6eabe92
Loading