Router

Verified contract

Active on Ethereum with 209 txns
Deployed by via 0x7da0f5f4 at 15675359
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "Router"

0x0c71b36b874a55fba2c85dffd326b990371d8ca384509731bbb9334977ed4281
0x70068a9e7e57e04f475a5106add9b3bef9519834796b80bfb3546ca8c966e0e2
0xbd2628030051a3cb661e11e562b963a96aa5dcfdc2f0fd5e67121105889bc0ce
0xada48e631243a5be30b78fb77d180e514d68085975962bbeb772bdc8703f9d55
0x2314d1a5336c511f10523b0a4bb9749a55b4d6c1e886b31befd1e85ea5ecade4
0x3ba3d1201fecb75b4d4de4163c51dc436908bbae5edc3d6935741b1fbd13d4c3
0xe955a6a69cca2c2c5bc915e6ce751ffad58160539638fc77e67d9a74bb8b3094
0x4e60b0a97c4cae9e93b51c97d265e46b7506eb4b480440ae2e2c1c8dd9efcd6b
0x9c2dc004189f9a9f9c991c7e7e2bbd8d5e3ca7f97f481af5759b4a0bc7812737
0xabbccc6f5bdf6df76a42327f973a09452b507a8b713ea327f0023b0c724c346e

Functions
Getter at block 21283687
WNative(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory(view returns (address)
0x8169e76dd8be598b79db480c4fc7da3ab4e09517
Read-only
getAmountIn(uint256 amountOutuint256 reserveInuint256 reserveOutuint32 feepure returns (uint256 amountIn)
getAmountOut(uint256 amountInuint256 reserveInuint256 reserveOutuint32 feepure returns (uint256 amountOut)
getAmountsIn(uint256 amountOutaddress[] pathuint32[] feePathview returns (uint256[] amounts)
getAmountsOut(uint256 amountInaddress[] pathuint32[] feePathview returns (uint256[] amounts)
pairAddress(address tokenAaddress tokenBuint32 poolFeeview returns (address)
quote(uint256 amountAuint256 reserveAuint256 reserveBpure returns (uint256 amountB)
quoteByTokens(uint256 amountAaddress tokenAaddress tokenBuint32 feeview returns (uint256 amountB)
State-modifying
addLiquidity(address tokenAaddress tokenBuint32 feeuint256 amountADesireduint256 amountBDesireduint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountBuint256 liquidity)
addLiquidityNative(address tokenuint32 feeuint256 amountTokenDesireduint256 amountTokenMinuint256 amountNativeMinaddress touint256 deadlinepayable returns (uint256 amountTokenuint256 amountNativeuint256 liquidity)
removeLiquidity(address tokenAaddress tokenBuint32 feeuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountB)
removeLiquidityNative(address tokenuint32 feeuint256 liquidityuint256 amountTokenMinuint256 amountNativeMinaddress touint256 deadlinereturns (uint256 amountTokenuint256 amountNative)
swapExactNativeForTokens(uint256 amountOutMinaddress[] pathuint32[] feePathaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactTokensForTokens(uint256 amountInuint256 amountOutMinaddress[] pathuint32[] feePathaddress touint256 deadlinereturns (uint256[] amounts)
swapTokensForExactNative(uint256 amountOutuint256 amountInMaxaddress[] pathuint32[] feePathaddress touint256 deadlinereturns (uint256[] amounts)
swapTokensForExactTokens(uint256 amountOutuint256 amountInMaxaddress[] pathuint32[] feePathaddress touint256 deadlinereturns (uint256[] amounts)
Events

This contract contains no event objects.

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

This contract contains no error objects.