SmardexRouter
Verified contract
Active on
Base with 4,624 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "SmardexRouter"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11491379 | 9 months ago | | | 0.000863 | 0.000000000876848668 | |
| 11488883 | 9 months ago | | | 0.000829 | 0.000000000846362572 | |
| 11486961 | 9 months ago | | | 0.001042 | 0.000000000960385372 | |
| 11484946 | 9 months ago | | | 0.000093 | 0.000000000932253080 | |
| 11483042 | 9 months ago | | | 0.000104 | 0.000000001046275880 | |
| 11480703 | 9 months ago | | | 0.000949 | 0.000000000846362572 | |
| 11479176 | 9 months ago | | | 0.000825 | 0.000000000960385372 | |
| 11476700 | 9 months ago | | | 0.001025 | 0.000000000960529401 | |
| 11474983 | 9 months ago | | | 0.000751 | 0.000000000960673430 | |
| 11472791 | 9 months ago | | | 0.000086 | 0.000000000932253080 |
ABI
ABI objects
Getter at block 22753796
WETH() view returns (address)
0x4200000000000000000000000000000000000006
factory() view returns (address)
0xdd4536dd9636564d891c919416880a3e250f975a
Read-only
getAmountIn(struct SmardexLibraryGetAmountParameters _param) pure returns (uint256 amountIn_, uint256 newReserveIn_, uint256 newReserveOut_, uint256 newFictiveReserveIn_, uint256 newFictiveReserveOut_)
getAmountInFromPair(uint256 _amountOut, address _tokenIn, address _tokenOut) view returns (uint256 amountIn_, uint256 newReserveIn_, uint256 newReserveOut_, uint256 newFictiveReserveIn_, uint256 newFictiveReserveOut_)
getAmountOut(struct SmardexLibraryGetAmountParameters _param) pure returns (uint256 amountOut_, uint256 newReserveIn_, uint256 newReserveOut_, uint256 newFictiveReserveIn_, uint256 newFictiveReserveOut_)
getAmountOutFromPair(uint256 _amountIn, address _tokenIn, address _tokenOut) view returns (uint256 amountOut_, uint256 newReserveIn_, uint256 newReserveOut_, uint256 newFictiveReserveIn_, uint256 newFictiveReserveOut_)
quote(uint256 _amountA, uint256 _reserveA, uint256 _reserveB) pure returns (uint256 amountB_)
State-modifying
Events addLiquidity(address _tokenA, address _tokenB, uint256 _amountADesired, uint256 _amountBDesired, uint256 _amountAMin, uint256 _amountBMin, address _to, uint256 _deadline) returns (uint256 amountA_, uint256 amountB_, uint256 liquidity_)
addLiquidityETH(address _token, uint256 _amountTokenDesired, uint256 _amountTokenMin, uint256 _amountETHMin, address _to, uint256 _deadline) payable returns (uint256 amountToken_, uint256 amountETH_, uint256 liquidity_)
removeLiquidity(address _tokenA, address _tokenB, uint256 _liquidity, uint256 _amountAMin, uint256 _amountBMin, address _to, uint256 _deadline) returns (uint256 amountA_, uint256 amountB_)
removeLiquidityETH(address _token, uint256 _liquidity, uint256 _amountTokenMin, uint256 _amountETHMin, address _to, uint256 _deadline) returns (uint256 amountToken_, uint256 amountETH_)
removeLiquidityETHWithPermit(address _token, uint256 _liquidity, uint256 _amountTokenMin, uint256 _amountETHMin, address _to, uint256 _deadline, bool _approveMax, uint8 _v, bytes32 _r, bytes32 _s) returns (uint256 amountToken_, uint256 amountETH_)
removeLiquidityWithPermit(address _tokenA, address _tokenB, uint256 _liquidity, uint256 _amountAMin, uint256 _amountBMin, address _to, uint256 _deadline, bool _approveMax, uint8 _v, bytes32 _r, bytes32 _s) returns (uint256 amountA_, uint256 amountB_)
smardexMintCallback(struct ISmardexMintCallbackMintCallbackData _data)
smardexSwapCallback(int256 _amount0Delta, int256 _amount1Delta, bytes _data)
swapETHForExactTokens(uint256 _amountOut, address[] _path, address _to, uint256 _deadline) payable returns (uint256 amountIn_)
swapExactETHForTokens(uint256 _amountOutMin, address[] _path, address _to, uint256 _deadline) payable returns (uint256 amountOut_)
swapExactTokensForETH(uint256 _amountIn, uint256 _amountOutMin, address[] _path, address _to, uint256 _deadline) returns (uint256 amountOut_)
swapExactTokensForTokens(uint256 _amountIn, uint256 _amountOutMin, address[] _path, address _to, uint256 _deadline) returns (uint256 amountOut_)
swapTokensForExactETH(uint256 _amountOut, uint256 _amountInMax, address[] _path, address _to, uint256 _deadline) returns (uint256 amountIn_)
swapTokensForExactTokens(uint256 _amountOut, uint256 _amountInMax, address[] _path, address _to, uint256 _deadline) returns (uint256 amountIn_)
This contract contains no event objects.
constructor(address _factory, address _WETH)
receive()
This contract contains no error objects.