V3Estimator
Code
Address
Events, Read-Only Functions, and State-Changing Functions
Last updated
Last updated
function estimateNeg(
contract IUniswapV3Pool pool,
address token,
uint256 amountOut
) external view returns (
uint256 amountIn,
uint160 sqrtPriceX96After
)function estimate(
contract IUniswapV3Pool pool,
bool zeroForOne,
int256 amountSpecified
) public view returns (int256 amount0, int256 amount1, uint160 sqrtPriceX96After) {