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 22917922.

Stable AMM - DOLA/rgUSD

Unverified contract

Proxy

Active on Base with 175 txns
Deployed by via 0xc6f318a0 at 14773182
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $3,955.31
ERC-20
Value $3,014.43
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
0x68ae39425870eac28201c15b8b839b375dc057befb51f191292c2f4f2400d571
0x601629b0b401d721e47e2a5bafa2d432d7f535e118dee61d9286c167842ad7b7
0x4323f2b7ae58f102eae01bb1d289d683b98badbbc18caf10cd1a892721742c05
0xa04fc1c725dfb6120762149ff9d29037f0352293f53137a7f49b816fd6c17b56
0xda1d6fb9a1597e251d1bb306d9c48a53c88d190d321de5f21d89072a1fa1888a
0xe1bd3886e9cbb5c9dfe15b9caffc1a0b53954e558a48715c32f94d13f7ce57c4
0xf67f0f5d3c519c6df878bfdf25a9be20ce6111a51369458b18de14e3b179d6a7
0x07aaa204bc5871f08ba520c8a22d73e95c36084ede684698994a00296d2d270c
0xae67be1c7696e0fabf7156dfb4e88d1a9b4a6b73fbb7df9ee20928e51ee460ab
0xf436e92e3afd811fbf4922d600ba4ae646aa994697bac31649afdc6559436023

Functions
Getter at block 22917923
DOMAIN_SEPARATOR(view returns (bytes32)
0xa6202646567e6473731ab1b829fc2d03338fa9806c5b7201cb84418e68947922
blockTimestampLast(view returns (uint256)
1732440349
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=3118443672975826401800136645566, reserve1Cumulative=3084445011051098650574041941404, blockTimestamp=1732625193)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xba15d0494fe4f0caecd7730f6d77beb6dd0feca9, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=3981574448927175614344, _reserve1=3024041761515622349436, _blockTimestampLast=1732440349)
index0(view returns (uint256)
17981254429816473
index1(view returns (uint256)
17330182750738192
lastObservation(view returns (struct IPoolObservation)
(1732440349, 3117707702828388906950878843230, 3083886035075733056876482793420)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=3981574448927175614344, r1=3024041761515622349436, st=true, t0=0x4621b7a9c75199271f773ebd9a499dbd165c3191, t1=0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470)
name(view returns (string)
Stable AMM - DOLA/rgUSD
observationLength(view returns (uint256)
1321
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x503ec10bdcaca7ee94b0cf562fee1315ff001cf0
reserve0(view returns (uint256)
3981574448927175614344
reserve0CumulativeLast(view returns (uint256)
3117707702828388906950878843230
reserve1(view returns (uint256)
3024041761515622349436
reserve1CumulativeLast(view returns (uint256)
3083886035075733056876482793420
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-DOLA/rgUSD
token0(view returns (address)
0x4621b7a9c75199271f773ebd9a499dbd165c3191
token1(view returns (address)
0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470
tokens(view returns (addressaddress)
(0x4621b7a9c75199271f773ebd9a499dbd165c3191, 0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470)
totalSupply(view returns (uint256)
3502501631825493969673
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