Stable AMM - hyUSD/eUSD

Unverified contract

Proxy

Active on Base with 1,400 txns
Deployed by via 0x0263f8b3 at 11720109
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $2,664.86
ERC-20
Value $1,487.94
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0xdc7215e7ce9bf4e9c651bc05a5419340d162d5893b830931b2cb700464b9b5e9
0xc9f18edf6315f390b9ebb8671553bfb43d03148ab83989c1247c7675e2d3bcd0
0x422b8ebe83ad61f0491f628b5b417579cfc4cf7e7ef970bf6dd69c4ea1589e45
0xddbd270e346860abdadacda642f98c8575db826cc41ba007bda8cb2e47875390
0x214230543da031f383d217aa8605a400db1dcac381abbd771fc2d1c3f5a6f8af
0x3855556420f9e86fda7ae93ac76c51cc05e88fc9a8fce9606b2507f9eaeba2af
0xbfb81360877cc41e6424e5eb562da5c89a0cbed0770947d1e6e6fa1badc12bf5
0x3416075a5720d37b4364eaae8a2534a517954c8268f758b0d5e01a0fb6b7fe65
0x2ed47270e4fb92c57231c02fd67d26a2bf843574d6310102e0657a73688b472e
0x22a7f844b14d552e00a774fdd29a01d5fe10adcdf641af84f78c28276196c3b0

Functions
Getter at block 22754901
DOMAIN_SEPARATOR(view returns (bytes32)
0x0b491e1f37aebe0b046f53ab10acb3c83fa6e5d6c5377c3217c5cc4c5a5dbb08
blockTimestampLast(view returns (uint256)
1731714775
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=53603089438988626478095322966, reserve1Cumulative=93968779654144536168147544382, blockTimestamp=1732299149)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x145ada46f76ec16b80d8e0b17d6a03fcdc9610e5, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=1409035804623288325105, _reserve1=2670802485137720828589, _blockTimestampLast=1731714775)
index0(view returns (uint256)
30572261522287448
index1(view returns (uint256)
31813867671723330
lastObservation(view returns (struct IPoolObservation)
(1731714775, 52779685549697696986400413696, 92408032122694665696661676096)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=1409035804623288325105, r1=2670802485137720828589, st=true, t0=0xcc7ff230365bd730ee4b352cc2492cedac49383e, t1=0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4)
name(view returns (string)
Stable AMM - hyUSD/eUSD
observationLength(view returns (uint256)
2017
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xabf4f6065de735dfd5eea98782e193940db3ec42
reserve0(view returns (uint256)
1409035804623288325105
reserve0CumulativeLast(view returns (uint256)
52779685549697696986400413696
reserve1(view returns (uint256)
2670802485137720828589
reserve1CumulativeLast(view returns (uint256)
92408032122694665696661676096
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-hyUSD/eUSD
token0(view returns (address)
0xcc7ff230365bd730ee4b352cc2492cedac49383e
token1(view returns (address)
0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4
tokens(view returns (addressaddress)
(0xcc7ff230365bd730ee4b352cc2492cedac49383e, 0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4)
totalSupply(view returns (uint256)
2030347568196699133516
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