SwapRouter02

Verified contract

Active on Base with 65,500 txns
Deployed by via 0x486ab1d8 at 6314381
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0x425d78a77ed52307a5af862f7784251501b78cb8610760c92df77ca906824144
0x95724ff0326ad256e8909b9a1e42f71a8b318a5219cb0b0fe5464de0c142cb09
0x2319eae116a30694f150886e01e818d9092f958cdb1462da887069e6c42c129c
0x58ff44faf3b323435a5f4c3d28df64a9f66915a27e2865504b11aa8082b1b554
0x26107dd8c2bbeb25eda938b72b7b26ae7848136ea3b59657d2c7ccd663ccbe93
0xb64355bc418365a3d0deb06190944d093523e813ff69d88a6fc1032e172dc1e6
0xf1df80ce30ee93a1bd770c7f4b8d29bd9808dbf42b50bcd18d4081481ca5ebc6
0x8583c817279369790929488afb9518d9c2a7bed1388540848e97a7c824eb5c67
0x4c28106b1c5aaf56e7f8ed56e16cdbcb819c87249d618dc4123cb8b60cbf2585
0x4c00f5fe627f3f3e9023cfb27d48dc71066eac3b65e5972f67ea0401a4d7e241

Functions
Getter at block 21729380
WETH9(view returns (address)
0x4200000000000000000000000000000000000006
factory(view returns (address)
0xe6da85feb3b4e0d6aed95c41a125fba859bb9d24
factoryV2(view returns (address)
0x0000000000000000000000000000000000000000
positionManager(view returns (address)
0x2b52294425a9a229322228de659ede9d146d7c2f
Read-only
checkOracleSlippage(bytes pathuint24 maximumTickDivergenceuint32 secondsAgoview 
checkOracleSlippage(bytes[] pathsuint128[] amountsuint24 maximumTickDivergenceuint32 secondsAgoview 
State-modifying
approveMax(address tokenpayable 
approveMaxMinusOne(address tokenpayable 
approveZeroThenMax(address tokenpayable 
approveZeroThenMaxMinusOne(address tokenpayable 
callPositionManager(bytes datapayable returns (bytes result)
exactInput(struct IV3SwapRouterExactInputParams paramspayable returns (uint256 amountOut)
exactInputSingle(struct IV3SwapRouterExactInputSingleParams paramspayable returns (uint256 amountOut)
exactOutput(struct IV3SwapRouterExactOutputParams paramspayable returns (uint256 amountIn)
exactOutputSingle(struct IV3SwapRouterExactOutputSingleParams paramspayable returns (uint256 amountIn)
getApprovalType(address tokenuint256 amountreturns (uint8)
increaseLiquidity(struct IApproveAndCallIncreaseLiquidityParams paramspayable returns (bytes result)
mint(struct IApproveAndCallMintParams paramspayable returns (bytes result)
multicall(bytes32 previousBlockhashbytes[] datapayable returns (bytes[])
multicall(bytes[] datapayable returns (bytes[] results)
multicall(uint256 deadlinebytes[] datapayable returns (bytes[])
pull(address tokenuint256 valuepayable 
refundETH(payable 
selfPermit(address tokenuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 spayable 
selfPermitAllowed(address tokenuint256 nonceuint256 expiryuint8 vbytes32 rbytes32 spayable 
selfPermitAllowedIfNecessary(address tokenuint256 nonceuint256 expiryuint8 vbytes32 rbytes32 spayable 
selfPermitIfNecessary(address tokenuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 spayable 
swapExactTokensForTokens(uint256 amountInuint256 amountOutMinaddress[] pathaddress topayable returns (uint256 amountOut)
swapTokensForExactTokens(uint256 amountOutuint256 amountInMaxaddress[] pathaddress topayable returns (uint256 amountIn)
sweepToken(address tokenuint256 amountMinimumpayable 
sweepToken(address tokenuint256 amountMinimumaddress recipientpayable 
sweepTokenWithFee(address tokenuint256 amountMinimumaddress recipientuint256 feeBipsaddress feeRecipientpayable 
sweepTokenWithFee(address tokenuint256 amountMinimumuint256 feeBipsaddress feeRecipientpayable 
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes _data
unwrapWETH9(uint256 amountMinimumpayable 
unwrapWETH9(uint256 amountMinimumaddress recipientpayable 
unwrapWETH9WithFee(uint256 amountMinimumaddress recipientuint256 feeBipsaddress feeRecipientpayable 
unwrapWETH9WithFee(uint256 amountMinimumuint256 feeBipsaddress feeRecipientpayable 
wrapETH(uint256 valuepayable 
Events

This contract contains no event objects.

Constructor
constructor(address _factoryV2address factoryV3address _positionManageraddress _WETH9
Fallback and receive
receive(
Errors

This contract contains no error objects.