SwapRouter02
Verified contract
Implementation
Active on
Ethereum
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.01)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
LUNA | ERC-20 | 100 | $0.000047 |
$0 | |
LUNA | ERC-20 | 5.128205 | $0.000111 |
$0 | |
CRE | ERC-20 | 0.005 | $0.00328 |
$0 | |
USHI | ERC-20 | 0.28245 | $0.000015 |
$0 | |
Shiryo-Inu | ERC-20 | 152.706361K | -- | -- | |
stETH | ERC-20 | 0 | $3,355.18 |
$0 | |
NEKO | ERC-20 | 72.240502B | -- | -- | |
SAITAMA | ERC-20 | 4.716843B | -- | -- | |
ZINU | ERC-20 | 1.334439B | -- | -- | |
CyOp | ERC-20 | 109.44M | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21237885 | a minute ago | | | 0 | 0.0037333809 | |
| 21237881 | 2 minutes ago | | | 0.19666439 | 0.0037248501 | |
| 21237880 | 2 minutes ago | | | 0 | 0.0056192924 | |
| 21237876 | 3 minutes ago | | | 0 | 0.0038937247 | |
| 21237872 | 4 minutes ago | | | 0 | 0.0065728625 | |
| 21237871 | 4 minutes ago | | | 0 | 0.0038578144 | |
| 21237866 | 5 minutes ago | | | 0 | 0.0039052829 | |
| 21237854 | 7 minutes ago | | | 0 | 0.0051644780 | |
| 21237843 | 10 minutes ago | | | 0 | 0.0036919524 | |
| 21237831 | 12 minutes ago | | | 0 | 0.0033308828 |
ABI
ABI objects
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 path, uint24 maximumTickDivergence, uint32 secondsAgo) view
checkOracleSlippage(bytes[] paths, uint128[] amounts, uint24 maximumTickDivergence, uint32 secondsAgo) view
State-modifying
Events approveMax(address token) payable
approveMaxMinusOne(address token) payable
approveZeroThenMax(address token) payable
approveZeroThenMaxMinusOne(address token) payable
callPositionManager(bytes data) payable returns (bytes result)
exactInput(struct IV3SwapRouterExactInputParams params) payable returns (uint256 amountOut)
exactInputSingle(struct IV3SwapRouterExactInputSingleParams params) payable returns (uint256 amountOut)
exactOutput(struct IV3SwapRouterExactOutputParams params) payable returns (uint256 amountIn)
exactOutputSingle(struct IV3SwapRouterExactOutputSingleParams params) payable returns (uint256 amountIn)
getApprovalType(address token, uint256 amount) returns (uint8)
increaseLiquidity(struct IApproveAndCallIncreaseLiquidityParams params) payable returns (bytes result)
mint(struct IApproveAndCallMintParams params) payable returns (bytes result)
multicall(bytes32 previousBlockhash, bytes[] data) payable returns (bytes[])
multicall(bytes[] data) payable returns (bytes[] results)
multicall(uint256 deadline, bytes[] data) payable returns (bytes[])
pull(address token, uint256 value) payable
refundETH() payable
selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable
selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable
selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable
selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable
swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to) payable returns (uint256 amountOut)
swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to) payable returns (uint256 amountIn)
sweepToken(address token, uint256 amountMinimum) payable
sweepToken(address token, uint256 amountMinimum, address recipient) payable
sweepTokenWithFee(address token, uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable
sweepTokenWithFee(address token, uint256 amountMinimum, uint256 feeBips, address feeRecipient) payable
uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes _data)
unwrapWETH9(uint256 amountMinimum) payable
unwrapWETH9(uint256 amountMinimum, address recipient) payable
unwrapWETH9WithFee(uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable
unwrapWETH9WithFee(uint256 amountMinimum, uint256 feeBips, address feeRecipient) payable
wrapETH(uint256 value) payable
This contract contains no event objects.
constructor(address _factoryV2, address factoryV3, address _positionManager, address _WETH9)
receive()
This contract contains no error objects.