SwapRouter

Verified contract

Active on Ethereum with 5,688 txns
Deployed by via 0xed13068b at 12385084
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "SwapRouter"

0x5d7aad524a4b6f49103df32050a96939caa77f4a7d03676b3dbd6ac57e8ca0ab
0xdadc104cb076359aec9cb6a285d5c41517caf12752dce43734dceeac86074453
0xbe73f75fa8aac542cfb2250c88b40c9a2e5131dc9a22c43baf0e09493a660b17
0x742b8a8eeb44585a0eb6d103690cf2c1ef45d0ab35a2a7c376fe43043062b498
0xd5deb032cd364448552631edd34549825cde2c5ef75c835960a0169f0b0b2e12
0x0dff71b55a9240d92bfba3e3fe640ae06b00dd79745f83559f0c0c71668074f4
0x311e4c39889522fcb2fd012f1573e1805ed9bebf1e58efd578a553502a89640f
0xa65e98b4bf6e384dcefd6147b82f8e4df129e8c7622644540fbfb6f59e444e5b
0x3476f6a2bbc455261d54758eb4d70be6ad30b81b2924a92968b11e7beebf3ca5
0xad08cb7a9bb236d67df08ba8fa6d22b12df1715912f52b069540d868adf44e52

Functions
Getter at block 21157628
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory(view returns (address)
0x4eef5746ed22a2fd368629c1852365bf5dcb79f1
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.