ButtonswapRouter

Verified contract

Active on Base with 368 txns
Deployed by via 0xd8b75af2 at 3846429
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "ButtonswapRouter"

0x9e43a5d39690d926107bcab2b652b849c290cf9070e0b06e5c79dab08bc5a063
0x5d0208b69fe5a745663068d6bc0ae3b8e6d0282c76d13121611a2ac993f89931
0x117822427d874975037b293503accd2e64a20b7fde4ffdb9141d67a7369a3c76
0xd1ee8b3e0cd2ddb703c01c19b3b5d62910fabd1d9295c4f4e3560aed86a01ee8
0xfc4696203c157468fa7f0902b0e76a35248e19c29954d63536e8d26d6cb5e54a
0x1f3d29f7d0dafdd38b33eeebcd6ea9996f0f7d1e4c0bc8ad2910cdc74bf332d6
0xab9e88879928367a69d067784d9d27787ebf29cd9198ca683ecddca1443b130c
0x16d5c97dd8d72b3d0f628d6a91b0cd6bf062f79ff1ef9d348906a614798f17ab
0x5838875f42ecc3dc0f16188d8a69d45b15f89667bfda0cbd1acda4a12a54cf9e
0xcbbfc39264f957410cc62996eaf38db91bba7367e34805c5b183960ad2db6715

Functions
Getter at block 22976970
WETH(view returns (address)
0x4200000000000000000000000000000000000006
factory(view returns (address)
0x75a92dfb38c3506dce3bbb5eb32a10852f9ba64a
isCreationRestricted(view returns (bool _isCreationRestricted)
false
Read-only
getAmountIn(uint256 amountOutuint256 poolInuint256 poolOutpure returns (uint256 amountIn)
getAmountOut(uint256 amountInuint256 poolInuint256 poolOutpure returns (uint256 amountOut)
getAmountsIn(uint256 amountOutaddress[] pathview returns (uint256[] amounts)
getAmountsOut(uint256 amountInaddress[] pathview returns (uint256[] amounts)
getBurnSwappedAmounts(address tokenAaddress tokenBuint256 liquidityview returns (uint256 tokenOutAuint256 swappedReservoirAmountA)
getMintSwappedAmounts(address tokenAaddress tokenBuint256 mintAmountAview returns (uint256 tokenAToSwapuint256 swappedReservoirAmountB)
getPair(address tokenAaddress tokenBview returns (address pair)
quote(uint256 amountAuint256 poolAuint256 poolBpure returns (uint256 amountB)
State-modifying
addLiquidity(address tokenAaddress tokenBuint256 amountADesireduint256 amountBDesireduint256 amountAMinuint256 amountBMinuint16 movingAveragePrice0ThresholdBpsaddress touint256 deadlinereturns (uint256 amountAuint256 amountBuint256 liquidity)
addLiquidityETH(address tokenuint256 amountTokenDesireduint256 amountTokenMinuint256 amountETHMinuint16 movingAveragePrice0ThresholdBpsaddress touint256 deadlinepayable returns (uint256 amountTokenuint256 amountETHuint256 liquidity)
addLiquidityETHWithReservoir(address tokenuint256 amountTokenDesireduint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinepayable returns (uint256 amountTokenuint256 amountETHuint256 liquidity)
addLiquidityWithReservoir(address tokenAaddress tokenBuint256 amountADesireduint256 amountBDesireduint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountBuint256 liquidity)
removeLiquidity(address tokenAaddress tokenBuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountB)
removeLiquidityETH(address tokenuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinereturns (uint256 amountTokenuint256 amountETH)
removeLiquidityETHFromReservoir(address tokenuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinereturns (uint256 amountTokenuint256 amountETH)
removeLiquidityETHWithPermit(address tokenuint256 liquidityuint256 amountTokenMinuint256 amountETHMinaddress touint256 deadlinebool approveMaxuint8 vbytes32 rbytes32 sreturns (uint256 amountTokenuint256 amountETH)
removeLiquidityFromReservoir(address tokenAaddress tokenBuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinereturns (uint256 amountAuint256 amountB)
removeLiquidityWithPermit(address tokenAaddress tokenBuint256 liquidityuint256 amountAMinuint256 amountBMinaddress touint256 deadlinebool approveMaxuint8 vbytes32 rbytes32 sreturns (uint256 amountAuint256 amountB)
swapETHForExactTokens(uint256 amountOutaddress[] pathaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactETHForTokens(uint256 amountOutMinaddress[] pathaddress touint256 deadlinepayable returns (uint256[] amounts)
swapExactTokensForETH(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapExactTokensForTokens(uint256 amountInuint256 amountOutMinaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapTokensForExactETH(uint256 amountOutuint256 amountInMaxaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
swapTokensForExactTokens(uint256 amountOutuint256 amountInMaxaddress[] pathaddress touint256 deadlinereturns (uint256[] amounts)
Events

This contract contains no event objects.

Constructor
constructor(address _factoryaddress _WETH
Fallback and receive
receive(
Errors
ExcessiveInputAmount(
Expired(
FailedWETHTransfer(
IdenticalAddresses(
InsufficientAAmount(
InsufficientAReservoir(
InsufficientAmount(
InsufficientBAmount(
InsufficientBReservoir(
InsufficientInputAmount(
InsufficientLiquidity(
InsufficientOutputAmount(
InvalidPath(
MovingAveragePriceOutOfBounds(
NoReservoir(
NonWETHSender(
NotInitialized(
ZeroAddress(