Volatile AMM - YFI/wstETH

Unverified contract

Proxy

Active on Base with 66 txns
Deployed by via 0xa7b69a59 at 17742250
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $288,518.82
ERC-20
Value $285,720.85
ERC-20
Value $0
ERC-20
--
0x4e07eadc4b7cabbb93fa74c766c86a9f3a913aac5c9ae4f29b272bbae547d528
0x1c486f258937db6af93115a6ef197b01f576cee1e597cae445f08de8f2dd6ffa
0xe433208084a1fe8c29f7329fd5bd7653c4bee5817bf820d422a3bba1ea897b2e
0x66f36891931537b2081b1ba37db41646e02658daf180461fe046c3a3eb735064
0xb69688c15d724607426126618d7b10ee5a29f3549eccaec7c9c161fbff751462
0xd5bc1cddfee6be5d45ec613a0b1097916fc1c0741f9876c3278580abf7814ea3
0xb2a474bad44437c05136ede9f12edde6fd5d39281d3793687c579994a65e2dc9
0x688e85d07cd4244b723b4595572cbd034bde3c540d05298ab5eafae02e11b28b
0x0e232dda7c06f49c89d842b13778aefea8bc5b3eaf822117ce9a57e99952a2f0
0xe10d8f329b394f7d59eb34231acac249a9b65c6459f88fa6773c69eb4aa8dffb

Functions
Getter at block 22760308
DOMAIN_SEPARATOR(view returns (bytes32)
0xddaefa8b09f5659c44b098d9c89794648629449e02cd2206fb9655097c391a2b
blockTimestampLast(view returns (uint256)
1732283103
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=1302594578781656186785480690, reserve1Cumulative=2157514500001481243949545768, blockTimestamp=1732309963)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x1524a14c55f097bb54f0b24383f3ae3e3743804a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=44923673674653420757, _reserve1=74048296921289705736, _blockTimestampLast=1732283103)
index0(view returns (uint256)
2049219845700673
index1(view returns (uint256)
3677316190145733
lastObservation(view returns (struct IPoolObservation)
(1732282683, 1301369069179192224908035050, 2155494448914047148857024168)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=44923673674653420757, r1=74048296921289705736, st=false, t0=0x9eaf8c1e34f05a589eda6bafdf391cf6ad3cb239, t1=0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452)
name(view returns (string)
Volatile AMM - YFI/wstETH
observationLength(view returns (uint256)
1018
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x35889a4599e1aecbfd5b1e875b5ff7c33c46c8a2
reserve0(view returns (uint256)
44923673674653420757
reserve0CumulativeLast(view returns (uint256)
1301387928906754995903947670
reserve1(view returns (uint256)
74048296921289705736
reserve1CumulativeLast(view returns (uint256)
2155525562746175402453476808
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-YFI/wstETH
token0(view returns (address)
0x9eaf8c1e34f05a589eda6bafdf391cf6ad3cb239
token1(view returns (address)
0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452
tokens(view returns (addressaddress)
(0x9eaf8c1e34f05a589eda6bafdf391cf6ad3cb239, 0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452)
totalSupply(view returns (uint256)
57676004371193905873
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