Stable AMM - DOLA/rgUSD

Unverified contract

Proxy

Active on Base with 168 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 $771.77
ERC-20
Value $598.36
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
0x07aaa204bc5871f08ba520c8a22d73e95c36084ede684698994a00296d2d270c
0xae67be1c7696e0fabf7156dfb4e88d1a9b4a6b73fbb7df9ee20928e51ee460ab
0xf436e92e3afd811fbf4922d600ba4ae646aa994697bac31649afdc6559436023
0xc4388426295d29f2f55b8010edf95c08269b82de371748146251a11d3610e1ce
0x8600792864bc8c4a228c08316356fee281f994b25faaf90e925b39da73838fb9
0x9b639a18b5889e6760acb00de919c36f26acbf6f830091eb0552f4e2c92b39ad
0x9a49cf444068e77489807bdda036cb819824d2d07a14e1e9b0532205760eb2b3
0x8d6c5419c59559f4c05ceb74e4ee89cb6f6e5d3b2886fd0b5827eccb6100f507
0xb9175b7d78fbf49e6a257eeef3ac4a61d7a96937ae6abfc576b05101b1abdccb
0xb999e04f1d7e22f4d6f8f75f545877ce776eba9850ca664be6eb514679ed0e15

Functions
Getter at block 21775859
DOMAIN_SEPARATOR(view returns (bytes32)
0xa6202646567e6473731ab1b829fc2d03338fa9806c5b7201cb84418e68947922
blockTimestampLast(view returns (uint256)
1730317723
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=3109642286175031542256412856912, reserve1Cumulative=3077517569284491613260951986512, blockTimestamp=1730341065)
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=776618755358719989562, _reserve1=602219628866863569487, _blockTimestampLast=1730317723)
index0(view returns (uint256)
17503149099378806
index1(view returns (uint256)
16885371805546138
lastObservation(view returns (struct IPoolObservation)
(1730317723, 3109624158340043959014416500708, 3077503512273914602931513020958)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=776618755358719989562, r1=602219628866863569487, st=true, t0=0x4621b7a9c75199271f773ebd9a499dbd165c3191, t1=0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470)
name(view returns (string)
Stable AMM - DOLA/rgUSD
observationLength(view returns (uint256)
1255
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x503ec10bdcaca7ee94b0cf562fee1315ff001cf0
reserve0(view returns (uint256)
776618755358719989562
reserve0CumulativeLast(view returns (uint256)
3109624158340043959014416500708
reserve1(view returns (uint256)
602219628866863569487
reserve1CumulativeLast(view returns (uint256)
3077503512273914602931513020958
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)
689374927154914011407
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