Skip to content

Commit

Permalink
feat: deploy to base
Browse files Browse the repository at this point in the history
  • Loading branch information
rhlsthrm committed Jun 21, 2024
1 parent 5a6c180 commit a72628a
Show file tree
Hide file tree
Showing 6 changed files with 399 additions and 0 deletions.
50 changes: 50 additions & 0 deletions broadcast/Deploy.s.sol/8453/run-1718949220.json

Large diffs are not rendered by default.

167 changes: 167 additions & 0 deletions broadcast/Deploy.s.sol/8453/run-1718949636.json

Large diffs are not rendered by default.

167 changes: 167 additions & 0 deletions broadcast/Deploy.s.sol/8453/run-latest.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions deploy-base.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source .env
forge script ./script/Deploy.s.sol --tc DeployBase --broadcast --ffi --json --rpc-url base --chain base --private-key $MODE_PRIVATE_KEY --verify -vvv
2 changes: 2 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ libs = ["lib"]
ast = true
build_info = true
extra_output = ["storageLayout"]
solc_version = "0.8.23"

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
[rpc_endpoints]
mode = "https://mainnet.mode.network"
base = "https://mainnet.base.org"
11 changes: 11 additions & 0 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ contract DeployMode is Script, DeployHelper {
vm.stopBroadcast();
}
}

contract DeployBase is Script, DeployHelper {
function setUp() public {}

function run() public {
address multisig = 0x03A376468888cee39Fa23C234201Ba704992e030;
vm.startBroadcast();
_deployImplementationAndProxy(multisig);
vm.stopBroadcast();
}
}

0 comments on commit a72628a

Please sign in to comment.