From d4e9e213ae12a67704c9424a5ec236049e0907d8 Mon Sep 17 00:00:00 2001 From: domenicodev Date: Tue, 27 Feb 2024 11:43:26 +0100 Subject: [PATCH] feat: Implemented getPoolIds --- evm/src/etherfi/EtherfiAdapter.sol | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/evm/src/etherfi/EtherfiAdapter.sol b/evm/src/etherfi/EtherfiAdapter.sol index a926976..32c7067 100644 --- a/evm/src/etherfi/EtherfiAdapter.sol +++ b/evm/src/etherfi/EtherfiAdapter.sol @@ -78,11 +78,13 @@ contract EtherfiAdapter is ISwapAdapter { tokens[2] = IERC20(address(wEeth)); } - function getPoolIds(uint256 offset, uint256 limit) + /// @inheritdoc ISwapAdapter + function getPoolIds(uint256, uint256) external returns (bytes32[] memory ids) { - revert NotImplemented("TemplateSwapAdapter.getPoolIds"); + ids[] = new bytes32[](1); + ids[0] = bytes20(address(liquidityPool)); } }