diff --git a/config/executor_addresses.json b/config/executor_addresses.json index 46db52c..92caa97 100644 --- a/config/executor_addresses.json +++ b/config/executor_addresses.json @@ -7,7 +7,7 @@ "pancakeswap_v3": "0x4929B619A8F0D9c06ed0FfD497636580D823F65d", "uniswap_v4": "0x042C0ebBEAb9d9987c2f64Ee05f2B3aeB86eAf70", "vm:balancer_v2": "0x00BE8EfAE40219Ff76287b0F9b9e497942f5BC91", - "ekubo": "0x5991A2dF15A8F6A256D3Ec51E99254Cd3fb576A9" + "ekubo": "0x5E40985A4d4E8DbAd1dc35fFCfacfCde3e3d1806" }, "tenderly_ethereum": { "uniswap_v2": "0x00C1b81e3C8f6347E69e2DDb90454798A6Be975E", diff --git a/foundry/scripts/deploy-executors.js b/foundry/scripts/deploy-executors.js index c8809b7..6c0f55b 100644 --- a/foundry/scripts/deploy-executors.js +++ b/foundry/scripts/deploy-executors.js @@ -33,6 +33,9 @@ const executors_to_deploy = { // Args: Pool manager {exchange: "UniswapV4Executor", args: ["0x000000000004444c5dc75cB358380D2e3dE08A90"]}, {exchange: "BalancerV2Executor", args: []}, + // Args: Ekubo core contract + {exchange: "EkuboExecutor", args: [ + "0xe0e0e08A6A4b9Dc7bD67BCB7aadE5cF48157d444" ], "base":[ // Args: Factory, Pool Init Code Hash diff --git a/foundry/src/TychoRouter.sol b/foundry/src/TychoRouter.sol index d997588..66c0be6 100644 --- a/foundry/src/TychoRouter.sol +++ b/foundry/src/TychoRouter.sol @@ -554,8 +554,7 @@ contract TychoRouter is AccessControl, Dispatcher, Pausable, ReentrancyGuard { } function locked(uint256) external { - // TODO replace with real executor address once deployed - address executor = address(0x5991A2dF15A8F6A256D3Ec51E99254Cd3fb576A9); + address executor = address(0x5E40985A4d4E8DbAd1dc35fFCfacfCde3e3d1806); // slither-disable-next-line controlled-delegatecall,low-level-calls (bool success, bytes memory result) = executor.delegatecall(