SwapsRouter

Verified contract

Active on Ethereum with 25,017 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
--
0x0844a410f055441b5126a270fedfabaf93beb6536429cea68791e5bb4e05bd6c
0x18d793d22c3e7d0764288364e46abd9ee73190bda95f20a835a552e740c8e80f
0x8a30838c2d6bc0cde21222ff86a85f4dab4bd5af563d6cc5a29b271c552c5cdb
0x9a55e0802c6c2efe7fde6e448477ebcbd0e51cc4698c6ff32b8364269fb5ebfe
0x73c0edc80163e69ada3d15a735d8d4f0b5c3ec31731380cf4e4b4bea3cefcb3a
0xb44d9bc4a599b197efd0f6f16185d4e2416458dd6c28a36dd6422f339737e500
0x8b1c8a00b542d0687a26dd3b0e744ee9030443f6c4fd1ad646771259b02624ae
0x752fde2df9e985fed7e7f531a7cb3ba3d80054b88bd05c62d187673aeb691155
0x1efbf416043aeac031a39fe8cc941fa3c3b8264fb7f7d43879db5db5ec413f72
0x0524b2f1a96a5aded256f506ac306c155b6421a37b18404e8f8ee2a4dfb93ebf

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