Stable AMM - hyUSD/eUSD

Unverified contract

Proxy

Active on Base with 1,389 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,980.2
ERC-20
Value $1,711.75
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0xc756a1334bca29b624dda22ba6278c7d4bfa7ef1808c4bc26367bfd06442e292
0xe1b01b651516766c6404e0b12e533b052bf29e418b9d4d6d6804d7f82fe2f118
0xec686b301456a2338c6bbf1b520f58ef97ec1eed4191bf256cc430ef778b4281
0xb8cf0a43604699cb57674b8f8d7f8abe33fa0387b39daacc44ed534545f0d894
0x1cdce0860ca6e1259ed9c2ee95263870f573e196571e688e850530d9b601777d
0x54dad8370de560bd3600249ac8627f079a50e606ecb2372701620991f0f3a811
0x709b83a1fb36c7875ccf3b497d22c29efec006096b5d713278cc324d58b08d7a
0x674a4c53fc55d27e7fc8a87d606e096a89af961e6a06ac2d850815ba49512b28
0x3595ef1e218b48eb3be48cfa3581147d1243bc98bae18404568361807b1b60fe
0x07554f5b6563418adebee9de19a5e813ef4faec235b4f078143ac5d76bddad68

Functions
Getter at block 21775915
DOMAIN_SEPARATOR(view returns (bytes32)
0x0b491e1f37aebe0b046f53ab10acb3c83fa6e5d6c5377c3217c5cc4c5a5dbb08
blockTimestampLast(view returns (uint256)
1730131629
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=50745805418498197020059140178, reserve1Cumulative=88648568718890625728876290268, blockTimestamp=1730341177)
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=1620976278486135266800, _reserve1=2977224753045933888340, _blockTimestampLast=1730131629)
index0(view returns (uint256)
30572261522287448
index1(view returns (uint256)
31769025796076885
lastObservation(view returns (struct IPoolObservation)
(1730131629, 50406133081293984347171733778, 88024697226339356374442419948)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=1620976278486135266800, r1=2977224753045933888340, st=true, t0=0xcc7ff230365bd730ee4b352cc2492cedac49383e, t1=0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4)
name(view returns (string)
Stable AMM - hyUSD/eUSD
observationLength(view returns (uint256)
2003
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xabf4f6065de735dfd5eea98782e193940db3ec42
reserve0(view returns (uint256)
1620976278486135266800
reserve0CumulativeLast(view returns (uint256)
50406133081293984347171733778
reserve1(view returns (uint256)
2977224753045933888340
reserve1CumulativeLast(view returns (uint256)
88024697226339356374442419948
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)
2289224488612628809713
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