UniswapV2Router02

Verified contract

Implementation

Active on Ethereum
Deployed by via 0x4fc1bcd0 at 10207858
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
Native
Value $81.34
ERC-20
Value $5.21
ERC-20
Value $4.01
ERC-20
Value $3.19
ERC-20
Value $0.97
ERC-20
Value $0.8
ERC-20
Value $0.66
ERC-20
Value $0.31
ERC-20
Value $0.11
ERC-20
Value $0.1
0xf03c5a3bcc70fbe95952ba57af269cc6b1bc8a2e6f8d2e40adc5f5773ce65664
0x7694cad072c02d25d60e2f97d1a08d745c8f0f6cb848d1729c267af00d367a20
0x14002b3f07e5ee42e48c1aa6f1e5a87d6eb191e4cbe297077173d3daff53e9dc
0xcb0b0ab315b9546653151700f47944fb7734cce5684537f985b835dd5e992f97
0xeaeeb8c3a55e88ba601e19f317085c8abb2110651e8483519cae7ddbe49b6c77
0xe08d8409510d4592be0bd17e8fe139bb873268039478e0f8f0d88a9db344f219
0xeeb106622eab8a93f0bdf516f6bac8d994c8494fd059a6e0de88de62071fd4a7
0x71c7122b7ecccbd5ba38667be6586b1b9c7269e2725396c8748b58f090f4b367
0x9178c164b99463caa1af2895e5c63945913b51f62684bcecfd9caec549c8aaa2
0x7818ba382b3a6dd68ca0f786048e5cc2bd5bddaee467ed310239b6110f84167a

Functions
Getter at block 20828183
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory(view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Read-only
getAmountIn(uint256 amountOutuint256 reserveInuint256 reserveOutpure returns (uint256 amountIn)
getAmountOut(uint256 amountInuint256 reserveInuint256 reserveOutpure returns (uint256 amountOut)
getAmountsIn(uint256 amountOutaddress[] pathview returns (uint256[] amounts)
getAmountsOut(uint256 amountInaddress[] pathview returns (uint256[] amounts)
quote(uint256 amountAuint256 reserveAuint256 reserveBpure returns (uint256 amountB)
State-modifying
addLiquidity(address tokenAaddress tokenBuint256 amountADesireduint256 amountBDesireduint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountBuint256 liquidity)
addLiquidityETH(address tokenuint256 amountTokenDesireduint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinepayable returns (uint256 amountTokenuint256 amountETHuint256 liquidity)
removeLiquidity(address tokenAaddress tokenBuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountB)
removeLiquidityETH(address tokenuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinereturns (uint256 amountTokenuint256 amountETH)
removeLiquidityETHSupportingFeeOnTransferTokens(address tokenuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinereturns (uint256 amountETH)
removeLiquidityETHWithPermit(address tokenuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinebool approveMaxuint8 vbytes32 rbytes32 sreturns (uint256 amountTokenuint256 amountETH)
removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address tokenuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinebool approveMaxuint8 vbytes32 rbytes32 sreturns (uint256 amountETH)
removeLiquidityWithPermit(address tokenAaddress tokenBuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinebool approveMaxuint8 vbytes32 rbytes32 sreturns (uint256 amountAuint256 amountB)
swapETHForExactTokens(uint256 amountOutaddress[] pathaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactETHForTokens(uint256 amountOutMinaddress[] pathaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMinaddress[] pathaddress touint256 deadlinepayable 
swapExactTokensForETH(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadline
swapExactTokensForTokens(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadline
swapTokensForExactETH(uint256 amountOutuint256 amountInMaxaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapTokensForExactTokens(uint256 amountOutuint256 amountInMaxaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
Events

This contract contains no event objects.

Constructor
constructor(address _factoryaddress _WETH
Fallback and receive
receive(
Errors

This contract contains no error objects.