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
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x60fc064493a5fe395e21d2f60ac8ccd1f07d0ccda3bbb2a82bb89cdc6eecb920
0x6b8e3d93bb77c1b17a3998d63051e3352f4282ca769573ddeee17f5373f1bd70
0xed5dfab9abdc2a12fa67cce5803dbaa102adfafe24dbde2ae925994f727e4791
0x593e0d4cd1a92263deb14215f1f3ae573b59b0669fcc92e0ddb1a9e5011604ce
0x38150aab935843672882a2deab2da110abf78a3f3c925cfea4c02cb95b8d7b88
0x5369e4d65a0b2869c155548792a2600d791aa788720a5aa832b067423c4c93f3
0x75f15c55f094d25e069d3559a61103840d0b5149267504c9e743910ac1a8e15f
0x044109a4683f8c70150e4c8d159d17f53e821324d31a9ab8063df74f5ef4163f
0x15d17fd732c2e9577aedb7625748697f631a732f96540263b63486a10882dbbf
0x708e273a5d89a16ab91ea035cf8fd2860df46521391d63c06c11b496fc799daa

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