SwapRouter02

Verified contract

Implementation

Active on Ethereum
Deployed by via 0x72993a2b at 13804681
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x24055825cc62904eabc7840a45be2317d53d394019a5f46bb877429d941f6a22
0xa92102847554e3f71147b1ec2b844cb40fc01dc54b128e698d0cc2ccd74a57eb
0xd8eaca497564418fe40172c08f8818e64bfb4fb629c402099fbc62f3adbf228b
0xe75f88b81c0eb25760576d393851c41cea29c6461aadd27d7168e63ae01b2c08
0xd0633b3b87622c0e337dc2b076693136f21210713a554a04b531ac2f867ae6c6
0x519d2568cccbfb16b05fbbe296f15dbfbf63a00fd085c11cdbc30e2e92ae8789
0xf1109a0e37a9cc40ee56c770df94d5b69de4f02b5fde1cca02da589923e4b6e9
0x69930220572de0b21ea228e940bf047d5af04fee0276a5af9c095085474f81e8
0x259e82a966e2462fca3bf574c7265fdf7ee4877014e10e6a165a3530bab05ae3
0xb0f2d0a4b43442d1ae0b2d8d50dfe7c15f8a5af312b5e43a1d73c88c434906ad

Functions
Getter at block 21241411
WETH9(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
factoryV2(view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
positionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
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.