SmardexRouter

Verified contract

Active on Base with 4,624 txns
Deployed by via 0x410794a6 at 2918556
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "SmardexRouter"

0x600f3d9c0e959b3ec16456f54d8072deb809b99f4bcd7a1f0881ec7c1cbc01b6
0xe3914a0a04767d94f228f7d06cb40341bc81f55df66a1a75dded71ac8e56b7db
0xc8fb4d4dc9d5b426270deafe56be5abf4991ad91505186a72bd7b71dbf1ec1d1
0x25caf5bbebeaa13b0d8db53f8a256ece48fa4347a7208f80821866307713fb00
0x814f0a71789359d59c8fdc42f3fc809c972560d0046552e7c03fba17d611e329
0x64d934363a9fa167f727079f2e3e4a66ceb0c2906d0858db5ace8ea136f544bc
0x57f63871b72415bbcf039f1c85f44b832ece1f70169645d5efcb97abaa257c4c
0xde2e4c6d526fb26b067f187b33be21a37b715a1a5648caae7d050d3b03533ae1
0xeeb88eb0fdcc264ff19a689ca0498d04f383416a83a22084a74077519068787a
0xa94d168b9f6c69eed9610e69f1c95454ba1f25641d3ada92176d6f0b6cd86db8

Functions
Getter at block 22753796
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(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.