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 $78.71
ERC-20
Value $4.64
ERC-20
Value $3.7
ERC-20
Value $3.21
ERC-20
Value $0.92
ERC-20
Value $0.85
ERC-20
Value $0.57
ERC-20
Value $0.33
ERC-20
Value $0.11
ERC-20
Value $0.1
0x6d05c73b2aed9e6d1a11eaf41e8bda8af3484d07084c0707fa38a1391e09f017
0x6763d8b6f917ae8acf23a369667087aa502fc6efc6296bd5af97fae2ae48e1d3
0x8a47b2dd01b47cdbd05e0dc59b858e53a2ec6b16a8a98af2d5e7c1f439da3ec4
0xb910b51564aeba7abdd295c6cd8a06a720b065b5048ecbc8e4d112c75119cca4
0x688e1d1f9ef1c55e472a57a58185c4d1ad1f37f9087281b6138a812d28a85898
0xd2c9185ff09697746ce8bc9d6079bb06377a509d3d2939e44014f7f24a4874b5
0x57c070197c3fdd21149382bd8ea662da752759183325853e06021087c15ba3b8
0x034c2dcfdf58215854e1a30a87f0c0f1e9389f96f81a9162eec6a9310746db18
0xf36e246ccf2d62b774209f7d233c00824e6b63e5db9cb4f8ad621f5c72eeb4e4
0x89e5a7c93cfbd7e3784e5c7d475346ca126447a16bcd3ef3fdec7d764eb673a2

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