This contract is being backfilled. You may encounter incomplete storage history.

SmardexRouter

Verified contract

Active on Base with 5,717 txns
Deployed by via 0x048e8a6f at 5329025
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x0a388e087a29b3db873fcaeb90a7b4f3adc240bbfd124a2a62249a09166f139b
0x5b1c34592df7def5b7f0c9f583cf932d2f0659e516782687917e6a59b97e3aad
0x86ee0724a2e57169400339eebf0502941f91ea169df98fe1d86847c512710fbb
0xe52dba37b273573b097dd364c335dce04d852ea5e91595b975e84156264d8bd1
0x37f357e40392410955d09ebf8235ca9e35cbb18f377ec927833734c7e5020de3
0xd86f2de284c7845302aaba42a242843acd9a015102f0e4776a580c3495b4502a
0x8f2ea40a9e80d40a5a0be028a7360c02ed2ac2cfa18fa845a2ebd2dea6ca56df
0x16a37106fdfb13b2a4e0c608100cc3f95f1d3c79c1d581df9edbd51262683956
0x2819b6a7ed21a85710f3d4283bfe0e175061388bacf2c3f77237fc57d140e04c
0xc9e2cd14e585ec01b09bed29c2817474f9a74f64742eae82874e6b466d5a310e

Functions
Getter at block 22763501
WETH(view returns (address)
0x4200000000000000000000000000000000000006
factory(view returns (address)
0xdd4536dd9636564d891c919416880a3e250f975a
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(struct ISmardexRouterAddLiquidityParams _paramsaddress _touint256 _deadlinereturns (uint256 amountA_uint256 amountB_uint256 liquidity_)
addLiquidityETH(struct ISmardexRouterAddLiquidityETHParams _paramsaddress _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.