SwapRouter02

Verified contract

Active on Base
Deployed by via 0x7b9881ed at 1371947
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x8310ba1047b3b980d869ccdb38cce64827be3af55f1b65a5c086c73d407aa7c7
0xe782e53e5c6f9af7bb1fcff105330d550bb0d792c763d2e42f5aaa31c183b728
0x93ad49aa54a2f488efd02d1bbdbca836bc77ddb90f6cff1820665f72b1050898
0x566e579d249f54e4a1162bb2109637e9d8fd0111f947786c0c3d3d12ae9c675b
0xe330eaa1110655fe176e3a91416206d36ab7f327ff93c4dc14d4c382cac098cb
0x7ee8e37cce3ccb8e28f65d8a7b50873fab369502a81df6559459af920ae19331
0x803f143bc3e62ce9998a7cfc4438ca5c2320c57570b9ae786d91b8ceee079a04
0x9f26f402d203704dce9963ef26820eb6b92afb159d177f0ebd073267aa301f4a
0xa917445993f55f98c3d20c3056ae16fdeab32d76aba69142a7afe2c09a82efd6
0x20e14002f7790471507d9953816b5a34f9c4b4d1e966b76078f24a8ded6aa897

Functions
Getter at block 22695484
WETH9(view returns (address)
0x4200000000000000000000000000000000000006
factory(view returns (address)
0x33128a8fc17869897dce68ed026d694621f6fdfd
factoryV2(view returns (address)
0x0000000000000000000000000000000000000000
positionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
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.