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
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
--
0xd25bbc1fd6c3bc9092c6965247c6e994d69f4c42781a188c8bf6101a0e9123d9
0x843dd2e9453d223f8d75b31732eb18c2d0e55973867209776f0c7a617503a3d2
0xab2554077ed29546a20d588c57005698931c5645dee772604be2add88ec40fdd
0x2a9b9de0c26832792accda89dd6edb4931a319d1f9d3295f08ae98f06a0ef699
0xddacc751bae2d92f5bd93a58f98dd1d69390c18626a23fd8a665129f2913986c
0xae87109d1881176318ffa61caf8fb5308916d90ca84506e4c248b24e7dfb0518
0x28f6d1fef6d943bf214f76e32c7d07a77aad8323bb0587b1fc6ccf07ab284bd7
0x4d4e33ac6388134719c708df9e6ab611a483137ae36a5be20e4ead5d3c7e0247
0xcebce2f4efd8200ffb228d49b68bcb0148d72f85cb61485b51a5e22ea9b4727e
0x563d95e821c6c169b21a840636a5bad31f581173735182e32d20077ffa2a27e5

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