
Uniswap SwapRouter02 (Base)
0x2626...e481v3Defiuniswap
Contract Level Prompt
Foundational semantic layer for AI interpretation.
The Uniswap SwapRouter02 can be used as an entrypoint smart contract to perform token swaps with Uniswap V2 and V3 pools.
exactInputSingle()
nonpayableFunctional Prompt
Swap `amountIn` of `tokenIn` for an `amountOutMinimum` of `tokenOut` on Base. Use `sqrtPriceLimitX96` as an optional price stop for your trade to control slippage.
Input Parameters
input
paramstuple
Input of type tuple
Output Parameters
output
amountOutuint256
Output of type uint256