feat: Implemented getPoolIds

This commit is contained in:
domenicodev
2024-02-27 11:43:26 +01:00
parent de4c816570
commit d4e9e213ae

View File

@@ -78,11 +78,13 @@ contract EtherfiAdapter is ISwapAdapter {
tokens[2] = IERC20(address(wEeth)); tokens[2] = IERC20(address(wEeth));
} }
function getPoolIds(uint256 offset, uint256 limit) /// @inheritdoc ISwapAdapter
function getPoolIds(uint256, uint256)
external external
returns (bytes32[] memory ids) returns (bytes32[] memory ids)
{ {
revert NotImplemented("TemplateSwapAdapter.getPoolIds"); ids[] = new bytes32[](1);
ids[0] = bytes20(address(liquidityPool));
} }
} }