Volatile AMM - hyUSD/eUSD

Unverified contract

Proxy

Active on Base with 13,737 txns
Deployed by via 0xd02668cd at 6043993
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,924,391.03
ERC-20
Value $2,921,121.15
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xc2a0ac3633bebd2fef6854dfd9106a0c6e7c59ce7f2f213b0781f90282bbb577
0xca681f10c9e3d24a69db9d8137ff349d0a8a0c6fa20ece99cab50adca2de49bb
0x5edebf5c498dfb4214714d6e07dee4d47ef8e33215baf6c73dc729cda7ee2203
0x94d13660f72c8a945bbf974cafed37c773c6d560bdb51dbf0dc6c107784560db
0x2e0b0ccbf159044da233b521d4ca69e1e97a6158ad174f3426f6d80def6869b9
0xc51a091a79187797cd4b0564ca4220cc82358689f5b7797112e37a6c9c0e3ae9
0x15db7c893843e5aed76ce0c4627b5f8e776d1e61e960d2140740ec104192beae
0xcf0dc30dc6d397259b8ff6f4aa0c12b9c4815b0c99ae450ecd92dfb8721c48f4
0xef646f3ee5b8c415eee6aa50c0e8f7d9402c6f44d16e9a6c41413116bea23dfb
0x520bbd824b962be7afbccd66712a80256a5f26add77836afb2d37a8331231f80

Functions
Getter at block 22744546
DOMAIN_SEPARATOR(view returns (bytes32)
0x7a7755df7bf6f03a4b35a155acfc99b564215ddbb6d2dffcec838fa0217f74f9
blockTimestampLast(view returns (uint256)
1732277221
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=74974913727790494665239622714158, reserve1Cumulative=77652954949972540971826418840484, blockTimestamp=1732278439)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xb5e331615fdba7df49e05cdeaceb14acdd5091c3, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=2760984072576983871385185, _reserve1=2924812204209488237189072, _blockTimestampLast=1732277221)
index0(view returns (uint256)
5365004318363284
index1(view returns (uint256)
5612463071820025
lastObservation(view returns (struct IPoolObservation)
(1732275651, 74967216523590759705818568047658, 77644800129224045969035291785668)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=2760984072576983871385185, r1=2924812204209488237189072, st=false, t0=0xcc7ff230365bd730ee4b352cc2492cedac49383e, t1=0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4)
name(view returns (string)
Volatile AMM - hyUSD/eUSD
observationLength(view returns (uint256)
7524
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x4c0ce73fe6d0fe316586433f9699987aba71a17b
reserve0(view returns (uint256)
2760984072576983871385185
reserve0CumulativeLast(view returns (uint256)
74971550849190095898884275558828
reserve1(view returns (uint256)
2924812204209488237189072
reserve1CumulativeLast(view returns (uint256)
77649392528707813815153522550788
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-hyUSD/eUSD
token0(view returns (address)
0xcc7ff230365bd730ee4b352cc2492cedac49383e
token1(view returns (address)
0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4
tokens(view returns (addressaddress)
(0xcc7ff230365bd730ee4b352cc2492cedac49383e, 0xcfa3ef56d303ae4faaba0592388f19d7c3399fb4)
totalSupply(view returns (uint256)
2841690504310107131067945
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