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.000058 |
$0.01 | |
LUNA | ERC-20 | 5.128205 | $0.00012 |
$0 | |
CRE | ERC-20 | 0.005 | $0.008211 |
$0 | |
USHI | ERC-20 | 0.28245 | $0.000016 |
$0 | |
Shiryo-Inu | ERC-20 | 152.706361K | -- | -- | |
stETH | ERC-20 | 0 | $3,463.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) |
---|---|---|---|---|---|---|---|
| 21241408 | 3 days ago | | | 0 | 0.0013988098 | |
| 21241391 | 3 days ago | | | 0 | 0.0012734316 | |
| 21241377 | 3 days ago | | | 2.7817529 | 0.0012234513 | |
| 21241364 | 3 days ago | | | 0 | 0.0013800442 | |
| 21241362 | 3 days ago | | | 0 | 0.0019585027 | |
| 21241345 | 3 days ago | | | 0 | 0.0025472747 | |
| 21241342 | 3 days ago | | | 0 | 0.0010318649 | |
| 21241324 | 3 days ago | | | 0 | 0.0012988638 | |
| 21241318 | 3 days ago | | | 0.15747552 | 0.0015778006 | |
| 21241310 | 3 days ago | | | 1 | 0.0030391714 |
ABI
ABI objects
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 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.