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 $77.71
ERC-20
Value $4.44
ERC-20
Value $4.28
ERC-20
Value $3.16
ERC-20
Value $0.92
ERC-20
Value $0.65
ERC-20
Value $0.6
ERC-20
Value $0.32
ERC-20
Value $0.13
ERC-20
Value $0.09
0x9c3f19ef257984c8eccbafc527ec48954263e15e0f1078c5c5fd508e46cf9ac2
0xe969f2420583ab78ebd68501085ab91b8a811b2ba7c2f46dc01b726df7f6f346
0xf19c5c84fd49874dfada51b4e6de7c520b5df3eb370c25675493c3fb1207152a
0x5bb5f3503a47e0fd803b5d2187a6ba89baac77551c80d2ff1eeaeaae566d6cad
0xbe8d5146c06745b46983c67a015594d7743a780b428d6f8fc3e3a90cb620c671
0x2f1e5b697cb54b51eb045cc3ebe8bb965f0df27b1a300bb4c32286f91f936e4e
0xb8d1294b6eed77a7262d9f877ba14d44a4f24ef8b7f22479159873b9c2837ca7
0xc1b8d44b15452fd97becef6acf53f3ef821ab7650f570b1d9e83fe92ad566b6f
0xb0c92ab7b31420b827e7106d2b8cc7633379ba3a70f3a18a886bf5702b8f88f6
0x656b42d7c28ddfbd7eec004334f343b6f25e0c2787be3b43b08b62fbeb4cec8e

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