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

Stable AMM - rgUSD/USD3

Unverified contract

Proxy

Active on Base with 142 txns
Deployed by via 0xaf4f4acc at 14804813
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.01
ERC-20
Value $1.1
ERC-20
Value $0
0x151f167999157b4007a8a963759db5c4abd74fbabbd63b29400340546d9d1568
0x28f9300172557cb175a20e1568623267b40dd81f588c52d018e501015bfe765c
0x0fbaeecfdf0c672fee6f0179b6cc479eabfdf9f5b5ccc978a17709b77837804d
0x5cbfeb701cf0b683f630b354854e0ce32cdbc3955da8a9826c56a7153f6c3cd4
0xd98c1732a77ec4c7380559fb0d3b40119161690a409418c5f241a1a2ffd99d92
0xccb83d87b58b027bc5c8e58aabbb4c2b7ca492a64a99bbfc203766ad55ee01c4
0x1eda7fe43cfa2b6738e1a5818b9464ad894c91ce65be5237802d90ef1c1d46d5
0xc06edb66b193a8adb6acad239b35e0b0ab2a0dd266fc121176a03050e108e551
0xe6cb7d27e3d2775865488d784a368151004148b0f707252cd0533f5fa294fa09
0x2b188d7e46f81f5e0c179eca9de578e4b6f6a7cb8bb971dbf95044ef267f394f

Functions
Getter at block 22752543
DOMAIN_SEPARATOR(view returns (bytes32)
0x488dd30f74aa557ee4ca6ee91188a91ad7a3788875460f7d61dc5661eb5f557e
blockTimestampLast(view returns (uint256)
1731988691
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=680804075698806099539821150306, reserve1Cumulative=688848225056690891282700109760, blockTimestamp=1732294433)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xd42cd5b74b6cb892ecde3cab2765b6bd57c83346, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=1099188387079585874, _reserve1=2945445738946367982, _blockTimestampLast=1731988691)
index0(view returns (uint256)
2423275464588782
index1(view returns (uint256)
2988075227268290
lastObservation(view returns (struct IPoolObservation)
(1731988691, 680803739630750257053076861798, 688847324510219774342260557116)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=1099188387079585874, r1=2945445738946367982, st=true, t0=0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470, t1=0xefb97aaf77993922ac4be4da8fbc9a2425322677)
name(view returns (string)
Stable AMM - rgUSD/USD3
observationLength(view returns (uint256)
220
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x0dbad29e09fc97ac0b1df6b073015a10e3806eb7
reserve0(view returns (uint256)
1099188387079585874
reserve0CumulativeLast(view returns (uint256)
680803739630750257053076861798
reserve1(view returns (uint256)
2945445738946367982
reserve1CumulativeLast(view returns (uint256)
688847324510219774342260557116
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-rgUSD/USD3
token0(view returns (address)
0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470
token1(view returns (address)
0xefb97aaf77993922ac4be4da8fbc9a2425322677
tokens(view returns (addressaddress)
(0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470, 0xefb97aaf77993922ac4be4da8fbc9a2425322677)
totalSupply(view returns (uint256)
2000000000000000000
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