Stable AMM - rgUSD/eUSD

Unverified contract

Proxy

Active on Base with 133 txns
Deployed by via 0xd5fa23de at 13766502
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $15.12
ERC-20
Value $12.39
ERC-20
Value $0
ERC-20
Value $0
0x7fd08b1a95f05adff637fe1a27e7ea2236e8cbf3e91246bbbb8c514945743d60
0x6f0a6b34e2e03d82d851be030caed21d9365322af26cedcc41342903173aec11
0x710a98b9ed3a975b9e5be7f98a264c038ffe64b968388c83418886892d9e95d3
0x48893b5991bdc3992fe3ccd8d590e421acf21979b26084e1a5d5b1885fdd06a7
0xa5cc361b6f9cfa9b285188c3cf7c4942d5d9a286cb3ecc9a91d81d7cd7e90aab
0x60d3ac9391e6de68874be59f6d1e71ac6592e4d5a965b287268a67cf6c6c5e82
0xb9662bc3a3b017b2c227a23e1b84ad73976a8c2a210be8e6bccd0262d5a4446a
0xe9f5555108e7797f513af24d6d5b5e3e44cf2963f8a3ed82a6af2d457bf46542
0x7f243de6573172a07dcdfbfaf226de316450e25d1d71f5cf6762080d046fce4c
0x4270ff57a57b5616c94508b4e8790ad299cbc8a634f7a107b4ca4b78a8609844

Functions
Getter at block 21779193
DOMAIN_SEPARATOR(view returns (bytes32)
0x0853edffa191c57a081d514aa597984df29a7c6ad71f94daaa8098028c559d78
blockTimestampLast(view returns (uint256)
1729767619
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=2612565146782948888925161642174, reserve1Cumulative=2442157980757675060520951630548, blockTimestamp=1730347733)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xd7adbf474e991f4aebf95c0b095001ce661aad17, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=15181938968641765745, _reserve1=12391426958992122517, _blockTimestampLast=1729767619)
index0(view returns (uint256)
26191162429353565
index1(view returns (uint256)
31305778959553922
lastObservation(view returns (struct IPoolObservation)
(1729767619, 2612556339527606034275868247244, 2442150792317416171764789803610)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=15181938968641765745, r1=12391426958992122517, st=true, t0=0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470, t1=0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4)
name(view returns (string)
Stable AMM - rgUSD/eUSD
observationLength(view returns (uint256)
1235
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x0c018a09aae6b869852e4915a1119e55e552389a
reserve0(view returns (uint256)
15181938968641765745
reserve0CumulativeLast(view returns (uint256)
2612556339527606034275868247244
reserve1(view returns (uint256)
12391426958992122517
reserve1CumulativeLast(view returns (uint256)
2442150792317416171764789803610
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-rgUSD/eUSD
token0(view returns (address)
0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470
token1(view returns (address)
0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4
tokens(view returns (addressaddress)
(0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470, 0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4)
totalSupply(view returns (uint256)
13786311079862363808
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