SmardexRouter
Verified contract
Active on
Ethereum with 5,658 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 |
---|---|---|---|---|---|
HQG | ERC-20 | 0.1 | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18426387 | a year ago | | | 0 | 0.0016050753 | |
| 18420295 | a year ago | | | 0 | 0.0068430062 | |
| 18420295 | a year ago | | | 0 | 0.0068430062 | |
| 18415664 | a year ago | | | 0 | 0.0030219613 | |
| 18413276 | a year ago | | | 0 | 0.0033755145 | |
| 18410243 | a year ago | | | 0 | 0.0011681667 | |
| 18406144 | a year ago | | | 0 | 0.0013605658 | |
| 18404021 | a year ago | | | 0 | 0.00098404631 | |
| 18399816 | a year ago | | | 0 | 0.0018186060 | |
| 18392605 | a year ago | | | 0 | 0.0038876033 |
ABI
ABI objects
Getter at block 21275602
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory() view returns (address)
0x7753f36e711b66a0350a753aba9f5651bae76a1d
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.