SwapsRouter

Verified contract

Active on Ethereum with 25,056 txns
Deployed by via 0xeae7d69b at 14931531
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x151fd42d6f1f9a9dccd42bda6d64fa7f2bf153f4c2fa75c79a0b9b31463ecdb0
0xed5c925c43fc00f661ea6a0aad577a3798a2a5db148260b640bcd8ed05e33163
0x5cd320379acb14f487fe95c4527c7e7fdf90b877c246aadd5c005a1c5b56230a
0xdf249873e67c648dbe228005ec96cba5567387b5ee9d913736c98e783784712c
0xf880fa2e10e1ebd0c75c3f59f9771213d0efe58d9bd3c323934a071613500f1c
0x433c714c42bcab32128b88fd6a4d167af92680f307c8d3a6f7a7a26236089066
0x28835af8ebb74c52ae2a7fcb9645beceb374d5c90ace6b211a7e9b44854043ee
0x10b5e829abf83f27ef867744764a06b0b8db78424e6660f7fc038c1a0456afb5
0xced5afcbeacf7d09c0b11b99e2ea615b44efb6a5682920a78c679411bc9e8821
0xcb9d048cc8a61cd99c4b2890e362f5782697ba8357873eb820175e958a57256a

Functions
Getter at block 21245017
FACTORY(view returns (address)
0xee3e9e46e34a27dc755a63e2849c9913ee1a06e2
PAIR(view returns (address)
0x7290367aa694703220516a35e68e3d339ee7d193
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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)
pairFor(address _factoryaddress _tokenAaddress _tokenBview returns (address predicted)
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 (uint256uint256)
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 (uint256uint256)
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.