ButtonswapRouter
Verified contract
Active on
Base with 368 txns
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
No balances found for "ButtonswapRouter"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13376317 | 7 months ago | | | 0.0014941767 | 0.000015295384 | |
| 13376308 | 7 months ago | | | 0.0015 | 0.000012699654 | |
| 13317127 | 7 months ago | | | 0.00007 | 0.0000068559234 | |
| 13317044 | 7 months ago | | | 0.0001 | 0.0000055856561 | |
| 13276304 | 7 months ago | | | 0.25 | 0.0000055856561 | |
| 13276206 | 7 months ago | | | 0.5 | 0.0000059514695 | |
| 13230340 | 7 months ago | | | 0.16214435 | 0.0000068207841 | |
| 13230307 | 7 months ago | | | 0.16 | 0.0000059572956 | |
| 13202267 | 7 months ago | | | 0 | 0.00011778316 | |
| 13202247 | 7 months ago | | | 0 | 0.000095073571 |
ABI
ABI objects
Getter at block 22976970
WETH() view returns (address)
0x4200000000000000000000000000000000000006
factory() view returns (address)
0x75a92dfb38c3506dce3bbb5eb32a10852f9ba64a
isCreationRestricted() view returns (bool _isCreationRestricted)
false
Read-only
getAmountIn(uint256 amountOut, uint256 poolIn, uint256 poolOut) pure returns (uint256 amountIn)
getAmountOut(uint256 amountIn, uint256 poolIn, uint256 poolOut) pure returns (uint256 amountOut)
getAmountsIn(uint256 amountOut, address[] path) view returns (uint256[] amounts)
getAmountsOut(uint256 amountIn, address[] path) view returns (uint256[] amounts)
getBurnSwappedAmounts(address tokenA, address tokenB, uint256 liquidity) view returns (uint256 tokenOutA, uint256 swappedReservoirAmountA)
getMintSwappedAmounts(address tokenA, address tokenB, uint256 mintAmountA) view returns (uint256 tokenAToSwap, uint256 swappedReservoirAmountB)
getPair(address tokenA, address tokenB) view returns (address pair)
quote(uint256 amountA, uint256 poolA, uint256 poolB) pure returns (uint256 amountB)
State-modifying
Events addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, uint16 movingAveragePrice0ThresholdBps, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB, uint256 liquidity)
addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, uint16 movingAveragePrice0ThresholdBps, address to, uint256 deadline) payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity)
addLiquidityETHWithReservoir(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity)
addLiquidityWithReservoir(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB, 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)
removeLiquidityETHFromReservoir(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)
removeLiquidityFromReservoir(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB)
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)
swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns (uint256[] amounts)
swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns (uint256[] amounts)
swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns (uint256[] amounts)
This contract contains no event objects.
constructor(address _factory, address _WETH)
receive()
ExcessiveInputAmount()
Expired()
FailedWETHTransfer()
IdenticalAddresses()
InsufficientAAmount()
InsufficientAReservoir()
InsufficientAmount()
InsufficientBAmount()
InsufficientBReservoir()
InsufficientInputAmount()
InsufficientLiquidity()
InsufficientOutputAmount()
InvalidPath()
MovingAveragePriceOutOfBounds()
NoReservoir()
NonWETHSender()
NotInitialized()
ZeroAddress()