Skip to content

Commit

Permalink
sonic
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielZlotin committed Dec 23, 2024
1 parent bfc82f9 commit 7230610
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
2 changes: 1 addition & 1 deletion deploy.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config=script/input/config.json

trap chain EXIT

chains=(eth arb bnb matic ftm op linea blast base zkevm manta sei)
chains=(eth arb bnb matic ftm op linea blast base zkevm manta sei sonic)

echo $chains | tr ' ' '\n' | parallel --keep-order "
echo \"\n🔗🔗🔗🔗🔗🔗🔗🔗🔗🔗🔗🔗 {} 🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀\n\";
Expand Down
2 changes: 1 addition & 1 deletion out/LiquidityHub.sol/LiquidityHub.json

Large diffs are not rendered by default.

24 changes: 7 additions & 17 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,21 @@ import {PartialOrderReactor} from "src/PartialOrderReactor.sol";
import {BaseScript, Admin, Consts} from "script/base/BaseScript.sol";

contract Deploy is BaseScript {
function run()
public
returns (
address admin,
address reactor,
address reactor2,
address executor,
address repermit,
address reactorPartial
)
{
function run() public returns (address admin, address reactor, address reactor2, address executor) {
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);
address fee02 = _admin(owner, weth, 0x668fa19c8dfec98130ebcc64b727ecf11105987af78936a05550a1f6679b16cc);
//address fee02 = _admin(owner, weth, 0x668fa19c8dfec98130ebcc64b727ecf11105987af78936a05550a1f6679b16cc);

//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();
Expand Down

0 comments on commit 7230610

Please sign in to comment.