SmardexRouter
Verified contract
Active on
Base with 5,717 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USA | ERC-20 | 1 | $0.000739 |
$0 | |
LZPZ | ERC-20 | 2 | -- | -- | |
OHNO | ERC-20 | 1 | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22757176 | 4 hours ago | | | 0 | 0.000023638397 | |
| 22742721 | 12 hours ago | | | 0 | 0.000029243706 | |
| 22717074 | a day ago | | | 0 | 0.000022162376 | |
| 22716016 | a day ago | | | 0 | 0.0000018858779 | |
| 22715731 | a day ago | | | 0 | 0.0000019844782 | |
| 22709736 | a day ago | | | 0.001 | 0.0000024036568 | |
| 22694350 | 2 days ago | | | 0 | 0.0000020712709 | |
| 22694312 | 2 days ago | | | 0.0003827357 | 0.0000022270640 | |
| 22689954 | 2 days ago | | | 0 | 0.0000024304724 | |
| 22682933 | 2 days ago | | | 0 | 0.0000023564358 |
ABI
ABI objects
Getter at block 22763501
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(struct ISmardexRouterAddLiquidityParams _params, address _to, uint256 _deadline) returns (uint256 amountA_, uint256 amountB_, uint256 liquidity_)
addLiquidityETH(struct ISmardexRouterAddLiquidityETHParams _params, 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.