Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables and it is currently at block 22753028.

Stable AMM - BRETT/AERO

Unverified contract

Proxy

Active on Base with 799 txns
Deployed by via 0x435cdf25 at 12188191
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $48,968.7
ERC-20
Value $16,322.46
ERC-20
Value $0.76
ERC-20
Value $0.52
ERC-20
Value $0.35
ERC-20
Value $0.27
ERC-20
Value $0.25
ERC-20
Value $0.22
ERC-20
Value $0.16
ERC-20
Value $0.08
0xbc6f0e793b91c9bb8e3ad441709e2605a6c51704c1208c837e93885e439db04e
0x5df78f3574cbfb836ea0c7a0afba892477a6962d208dd194fb46d224a6c9c27b
0xecafb717f482c7bd3dae60d7fa3e2409ee4cb4eb251d00dc62d0d2c61da66f39
0xb8763b7a61bcc5a8580391f853ee74b79493e7a542306db25606018f64966f88
0xe1c8816028ea6aa3b6f58e97f8e15f53f776817083967c565bdb6006f6a4f3aa
0x0abf9616d3e202a8fed76f8a8013a1d0ea1ccd26c9ef0f698cffd29525811261
0x32c15bec74dc8819e1e5af6f2cc08e0aa6f81bc0091e37bfe6baf6e123bf40c1
0xc926eb87aeff9c1e2727e40a88d5bc7305c16f974b8aead7e5d03eb8842aa31e
0x6c14822e2b857d038e60c94f8e32bba6024e7e33f47dc06b8364c4073ed8009b
0x143c91218e225f4cb5f76f2e86461f6c3b645610a429839d5437012d3df9f708

Functions
Getter at block 22753029
DOMAIN_SEPARATOR(view returns (bytes32)
0x564de6b5257ca690e46ad17b1bb8858aadba9a305f4b02db3adc482d710f63ba
blockTimestampLast(view returns (uint256)
1732295097
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=2376876171124684291013565808564, reserve1Cumulative=68735310252975782605024239816, blockTimestamp=1732295405)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xffa80952b3800240f11ad25e45e8d3e5c1593e70, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=312155038838529772454477, _reserve1=12653067987254070720774, _blockTimestampLast=1732295097)
index0(view returns (uint256)
48638911671665727
index1(view returns (uint256)
4719232943777179
lastObservation(view returns (struct IPoolObservation)
(1732295097, 2376780027372722023843649829648, 68731413108035708351242241424)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=312155038838529772454477, r1=12653067987254070720774, st=true, t0=0x532f27101965dd16442e59d40670faf5ebb142e4, t1=0x940181a94a35a4569e4529a3cdfb74e38fd98631)
name(view returns (string)
Stable AMM - BRETT/AERO
observationLength(view returns (uint256)
6641
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xd55c67f281e3a13b87b997e8bbfdb24d2e9a63e8
reserve0(view returns (uint256)
312155038838529772454477
reserve0CumulativeLast(view returns (uint256)
2376780027372722023843649829648
reserve1(view returns (uint256)
12653067987254070720774
reserve1CumulativeLast(view returns (uint256)
68731413108035708351242241424
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-BRETT/AERO
token0(view returns (address)
0x532f27101965dd16442e59d40670faf5ebb142e4
token1(view returns (address)
0x940181a94a35a4569e4529a3cdfb74e38fd98631
tokens(view returns (addressaddress)
(0x532f27101965dd16442e59d40670faf5ebb142e4, 0x940181a94a35a4569e4529a3cdfb74e38fd98631)
totalSupply(view returns (uint256)
117826386071808547219746
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