```\nfunction _amountsForLiquidity(\n    int24 tickLower,\n    int24 tickUpper,\n    uint128 liquidity\n) internal view returns (uint256, uint256) {\n    (uint160 sqrtRatioX96, , , , , , ) = IUniswapV3Pool(pool).slot0();\n    return\n        UV3Math.getAmountsForLiquidity(\n            sqrtRatioX96,\n            UV3Math.getSqrtRatioAtTick(tickLower),\n            UV3Math.getSqrtRatioAtTick(tickUpper),\n            liquidity\n        );\n}\n```\n