```\nfunction removeLiquidityETH(\n    LiquidityParams calldata lp,\n    uint deadline\n) external override ensure(deadline) returns (uint amountToken, uint amountETH) {\n    IDAOfiV1Pair pair = IDAOfiV1Pair(DAOfiV1Library.pairFor(factory, lp.tokenBase, WETH, lp.slopeNumerator, lp.n, lp.fee));\n    require(msg.sender == pair.pairOwner(), 'DAOfiV1Router: FORBIDDEN');\n    (amountToken, amountETH) = pair.withdraw(address(this));\n    assert(IERC20(lp.tokenBase).transfer(lp.to, amountToken));\n    IWETH10(WETH).withdraw(amountETH);\n    TransferHelper.safeTransferETH(lp.to, amountETH);\n}\n```\n