Skip to content

Commit

Permalink
remove helper for EOAs
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Jan 30, 2025
1 parent a787ff8 commit c0a72cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions script/deploy/zksync/DeployLiFiDEXAggregator.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ contract DeployScript is DeployScriptBase {

function getConstructorArgs() internal override returns (bytes memory) {
string memory path = string.concat(root, "/config/global.json");
string memory json = vm.readFile(path);

address[] memory priviledgedUsers = new address[](1);
priviledgedUsers[0] = _getConfigContractAddress(path, ".pauserWallet");
priviledgedUsers[0] = json.readAddress(".pauserWallet");

// the original RouteProcessor4.sol is also deployed with address(0) for _bentoBox
address withdrawWalletAddress = _getConfigContractAddress(
path,
".withdrawWallet"
);
return abi.encode(address(0), priviledgedUsers, withdrawWalletAddress);

address refundWalletAddress = json.readAddress(".refundWallet");

return abi.encode(address(0), priviledgedUsers, refundWalletAddress);
}
}

0 comments on commit c0a72cf

Please sign in to comment.