SwapRouter02

Verified contract

Active on Base with 84,553 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
--
0x5e725bec85687b0f06bce5abfcf791f81efa519d47c1a299a7f52d2e1b9caa41
0x9bb91cd90c8b9f78b44eb1e719d428845c62daa2cc5e66490916edf006a22329
0x537c64220734c9ce9cbc8f271f98473104e875831ce1a24e95293a4def359bcf
0x38d289bdd4c9109d14309a33eda10a64def77b12a6217e3a88321ace7ab5b830
0x5ca5f6e82ed114bbae5ec7f47c7fa90c1df7295360e74392f532071afc120fa9
0x5c9423fcbedf18eac5f4f0c9e8688d8ac71bc85570d8c77e43f0f80523e3bfc6
0x611934b85281c00804dccd66245695047a4f0b26d85998c980bb847b2283668e
0xad3552677b129d7f5a5c6c225f20db2e15be33443709c7462e3dbda4f27d1419
0x91c632d21e8ac30afbdaf305261ba16be1544ed9b8334f77633f6af916bdb74a
0xab38b6116b9af5e22f9fa2e58af5f8de696e686706ab0b7ac1c7fef00be993e0

Functions
Getter at block 22730412
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.