SmardexRouter

Verified contract

Active on Ethereum with 5,658 txns
Deployed by via 0x54e3ef7d at 17712713
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x819fb23ce1c1ea65c37a622d45c6b4e0872523613ad6704d75337b8ba7ebc616
0x5ea06d3b7f3d07ae5e29a62cd7e464b1eeeb737b326eecbbcbd87d11f8961f87
0x4f54c4001d008bd91648f4134b01cbb5891f9370f442a9a08be8801e304b3c1c
0xce26d122751dded986410ceb771ea35ffe870580aecce70732c702bf84f6e877
0xd320a52c6580b4490cf91d930c4445655d3dda3ff8c31b914a465c1ea8393859
0xd8023381344cb7ba40c61bdc7cdbae0be68e9488ca4e8c471d2ac59c56410cf6
0xf0068fcb2ffbab1adcb7600b1251166e7e99851252b522c57b96d0c2e2880737
0xaac57431b35b8efc73dc696c979e288b1cff9235390bb5cba7de2eca269b42d2
0x3f24976691996ebd54909101330c879bf83126ed414717e72f82855a90fbbcb9
0xfae36652f55c11832550a95547dbc40cbd3657a2199ce7d2a8baea696f322c47

Functions
Getter at block 21275602
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory(view returns (address)
0x7753f36e711b66a0350a753aba9f5651bae76a1d
Read-only
getAmountIn(struct SmardexLibraryGetAmountParameters _parampure returns (uint256 amountIn_uint256 newReserveIn_uint256 newReserveOut_uint256 newFictiveReserveIn_uint256 newFictiveReserveOut_)
getAmountInFromPair(uint256 _amountOutaddress _tokenInaddress _tokenOutview returns (uint256 amountIn_uint256 newReserveIn_uint256 newReserveOut_uint256 newFictiveReserveIn_uint256 newFictiveReserveOut_)
getAmountOut(struct SmardexLibraryGetAmountParameters _parampure returns (uint256 amountOut_uint256 newReserveIn_uint256 newReserveOut_uint256 newFictiveReserveIn_uint256 newFictiveReserveOut_)
getAmountOutFromPair(uint256 _amountInaddress _tokenInaddress _tokenOutview returns (uint256 amountOut_uint256 newReserveIn_uint256 newReserveOut_uint256 newFictiveReserveIn_uint256 newFictiveReserveOut_)
quote(uint256 _amountAuint256 _reserveAuint256 _reserveBpure returns (uint256 amountB_)
State-modifying
addLiquidity(address _tokenAaddress _tokenBuint256 _amountADesireduint256 _amountBDesireduint256 _amountAMinuint256 _amountBMinaddress _touint256 _deadlinereturns (uint256 amountA_uint256 amountB_uint256 liquidity_)
addLiquidityETH(address _tokenuint256 _amountTokenDesireduint256 _amountTokenMinuint256 _amountETHMinaddress _touint256 _deadlinepayable returns (uint256 amountToken_uint256 amountETH_uint256 liquidity_)
removeLiquidity(address _tokenAaddress _tokenBuint256 _liquidityuint256 _amountAMinuint256 _amountBMinaddress _touint256 _deadlinereturns (uint256 amountA_uint256 amountB_)
removeLiquidityETH(address _tokenuint256 _liquidityuint256 _amountTokenMinuint256 _amountETHMinaddress _touint256 _deadlinereturns (uint256 amountToken_uint256 amountETH_)
removeLiquidityETHWithPermit(address _tokenuint256 _liquidityuint256 _amountTokenMinuint256 _amountETHMinaddress _touint256 _deadlinebool _approveMaxuint8 _vbytes32 _rbytes32 _sreturns (uint256 amountToken_uint256 amountETH_)
removeLiquidityWithPermit(address _tokenAaddress _tokenBuint256 _liquidityuint256 _amountAMinuint256 _amountBMinaddress _touint256 _deadlinebool _approveMaxuint8 _vbytes32 _rbytes32 _sreturns (uint256 amountA_uint256 amountB_)
smardexMintCallback(struct ISmardexMintCallbackMintCallbackData _data
smardexSwapCallback(int256 _amount0Deltaint256 _amount1Deltabytes _data
swapETHForExactTokens(uint256 _amountOutaddress[] _pathaddress _touint256 _deadlinepayable returns (uint256 amountIn_)
swapExactETHForTokens(uint256 _amountOutMinaddress[] _pathaddress _touint256 _deadlinepayable returns (uint256 amountOut_)
swapExactTokensForETH(uint256 _amountInuint256 _amountOutMinaddress[] _pathaddress _touint256 _deadlinereturns (uint256 amountOut_)
swapExactTokensForTokens(uint256 _amountInuint256 _amountOutMinaddress[] _pathaddress _touint256 _deadlinereturns (uint256 amountOut_)
swapTokensForExactETH(uint256 _amountOutuint256 _amountInMaxaddress[] _pathaddress _touint256 _deadlinereturns (uint256 amountIn_)
swapTokensForExactTokens(uint256 _amountOutuint256 _amountInMaxaddress[] _pathaddress _touint256 _deadlinereturns (uint256 amountIn_)
Events

This contract contains no event objects.

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

This contract contains no error objects.