// SPDX-License-Identifier: Apache-2.0 pragma solidity 0.8.28; /// @notice Minimal interface of Uniswap SwapRouter02. /// @dev Declared here on purpose: importing Uniswap periphery would pull GPL-3.0 into an /// Apache-2.0 artifact. An interface declaration is not a derivative work of their code. /// SwapRouter02 has no `deadline` field in the struct — that is not an omission. interface ISwapRouter02 { struct ExactInputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 amountIn; uint256 amountOutMinimum; uint160 sqrtPriceLimitX96; } function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut); }