Stable AMM - WETH/TOWER

Unverified contract

Proxy

Active on Base with 14 txns
Deployed by via 0x4d7a3286 at 14607278
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
0x8dcb14cd52cf529750b3042288a83f27fabdc4441452bbc116da0a00310160f3
0xd4f0e7218316d0f5da7fd97b79b61cb57559a7ddbf26fdbaa16895aa2e38b8b1
0xa1b1fa3c6bebee6316278548f5e1abd35240a18d1d46fdd7e34e25b671cae803
0xb7543bbe5c42801ae33d2544cec052b16f984f3e17b80df9c4fe56e8ddc223ea
0x2f80d758ed0b2f09f18cb33c89fea4ede648299e1a5bdb62f4ee49e6f885dd6a
0x60272295cb8bc8d60ac8bcf2d0f8599e9b734fc8dd457711011fd5177d686d3e
0x97182cae73fec0447633854114f8d54e9997f4b4050926d03e48afc842158ed4
0xb88ad256b2f20a93a2359d9707909a31b00a65dc72e2339603da86b460dfa645
0x348d55c4aa4a5f0748d3ca3571b83a52f31012d9adef8063bcaf0bae3229fc34
0x5d2d4ea875f5d9115037b1e43f74bbfcf8e27a4c16b4c9b341485f569f686365

Functions
Getter at block 21783064
DOMAIN_SEPARATOR(view returns (bytes32)
0xd04f1f935e441dcd72c16897c8cfca1526613d9953984e4844fd1c2d9e0c1b84
blockTimestampLast(view returns (uint256)
1718728103
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=95297351415699582752, reserve1Cumulative=79588979158893514530851074, blockTimestamp=1730355475)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x6c0b3043982052ecbf1666919c6fd6839ad78021, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=1, _reserve1=148293, _blockTimestampLast=1718728103)
index0(view returns (uint256)
50000000000000
index1(view returns (uint256)
34306159412511071593
lastObservation(view returns (struct IPoolObservation)
(1718727567, 95297333363868223228, 79588976481951338542976766)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=1, r1=148293, st=true, t0=0x4200000000000000000000000000000000000006, t1=0xf7c1cefcf7e1dd8161e00099facd3e1db9e528ee)
name(view returns (string)
Stable AMM - WETH/TOWER
observationLength(view returns (uint256)
7
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x674ad07ee317fa69658bc57f73816ae2c5fe4308
reserve0(view returns (uint256)
1
reserve0CumulativeLast(view returns (uint256)
95297351415687955380
reserve1(view returns (uint256)
148293
reserve1CumulativeLast(view returns (uint256)
79588979158891790272975078
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-WETH/TOWER
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0xf7c1cefcf7e1dd8161e00099facd3e1db9e528ee
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0xf7c1cefcf7e1dd8161e00099facd3e1db9e528ee)
totalSupply(view returns (uint256)
1000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
claimable0(addressview returns (uint256)
claimable1(addressview returns (uint256)
getAmountOut(uint256 amountInaddress tokenInview returns (uint256)
nonces(address ownerview returns (uint256)
observations(uint256view returns (uint256 timestampuint256 reserve0Cumulativeuint256 reserve1Cumulative)
prices(address tokenInuint256 amountInuint256 pointsview returns (uint256[])
quote(address tokenInuint256 amountInuint256 granularityview returns (uint256 amountOut)
sample(address tokenInuint256 amountInuint256 pointsuint256 windowview returns (uint256[])
supplyIndex0(addressview returns (uint256)
supplyIndex1(addressview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
burn(address toreturns (uint256 amount0uint256 amount1)
claimFees(returns (uint256 claimed0uint256 claimed1)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
getK(returns (uint256)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _token0address _token1bool _stable
mint(address toreturns (uint256 liquidity)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
setName(string __name
setSymbol(string __symbol
skim(address to
swap(uint256 amount0Outuint256 amount1Outaddress tobytes data
sync(
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed senderaddress indexed touint256 amount0uint256 amount1
Claim(address indexed senderaddress indexed recipientuint256 amount0uint256 amount1
EIP712DomainChanged(
Fees(address indexed senderuint256 amount0uint256 amount1
Mint(address indexed senderuint256 amount0uint256 amount1
Swap(address indexed senderaddress indexed touint256 amount0Inuint256 amount1Inuint256 amount0Outuint256 amount1Out
Sync(uint256 reserve0uint256 reserve1
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
BelowMinimumK(
DepositsNotEqual(
FactoryAlreadySet(
InsufficientInputAmount(
InsufficientLiquidity(
InsufficientLiquidityBurned(
InsufficientLiquidityMinted(
InsufficientOutputAmount(
InvalidTo(
IsPaused(
K(
NotEmergencyCouncil(
StringTooLong(string str