Skip to content

Commit

Permalink
deployarb
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielZlotin committed Dec 15, 2024
1 parent ea70e3c commit eb2cda5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion out/LiquidityHub.sol/LiquidityHub.json

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,20 @@ contract Deploy is BaseScript {
address owner = vm.envAddress("OWNER");
address weth = vm.envAddress("WETH");

admin = _admin(owner, weth, bytes32(uint256(0x9563)));
_whitelist(Admin(payable(admin)));
//admin = _admin(owner, weth, bytes32(uint256(0x9563)));
//_whitelist(Admin(payable(admin)));

// fee00 = _admin(owner, weth, 0x55669ad6a3db66a4a3bbfe640c9faa64095a75a5228cf52464f4a449257ee6c5);
// fee01 = _admin(owner, weth, 0xab1462bd378a47c5676f45ed8b1f1de08ddf212e2525b6c82e7c2c11c41590d2);

reactor = _reactor(bytes32(uint256(0)));
reactor2 = _reactor(bytes32(uint256(1)));
//reactor = _reactor(bytes32(uint256(0)));
//reactor2 = _reactor(bytes32(uint256(1)));

executor = _executor(reactor, admin);
//executor = _executor(reactor, admin);
executor = _executor(0x35db01D1425685789dCc9228d47C7A5C049388d8, 0x000066320a467dE62B1548f46465abBB82662331);

repermit = _repermit();
reactorPartial = _partialreactor(repermit);
//repermit = _repermit();
//reactorPartial = _partialreactor(repermit);
}

function _admin(address owner, address weth, bytes32 salt) private returns (address admin) {
Expand Down
3 changes: 0 additions & 3 deletions script/DeployZK.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ contract DeployZK is BaseScript {
public
returns (
address admin,
address fee00,
address fee01,
address reactor,
address reactor2,
address executor,
address executorPCX,
address repermit,
address reactorPartial
)
Expand Down
6 changes: 6 additions & 0 deletions script/input/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
},
"56": {
"executorPCSX": "0xE9aC98F3B25c15B3a47c53639FfdCB090eEe49D4"
},
"42161": {
"executorPCSX": "0xBa10965C42940a18a700a96D4Eb2eEba476a1532"
},
"": {
"executorPCSX": ""
}
}

0 comments on commit eb2cda5

Please sign in to comment.