```\nuint amountOut = IWETH10(WETH).balanceOf(address(this));\nrequire(\n    IWETH10(sp.tokenOut).balanceOf(address(this)).sub(balanceBefore) >= sp.amountOut,\n    'DAOfiV1Router: INSUFFICIENT\_OUTPUT\_AMOUNT'\n);\n```\n