Volatile AMM - WETH/YFI

Unverified contract

Proxy

Active on Base with 5 txns
Deployed by via 0x5556cfbd at 22374066
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $1,198,987.15
ERC-20
Value $1,194,869.29
0x479b38460e0e11770cbcc786b2a797c208b2bc95d98044906ecd6a799b38e433
0xdc3fa02ee70789c7148317a42bd52d4903d4c8c56a785c7ca89dc0fa860796eb
0x5a5276056ea9c3e657d378ad84f8ec93427bf0086d0f8cde7a57c158a76fd1ee
0xf60b82ad6e2dece32a2c36025249b40a104064b871c8422bd845954ce16cb7fd
0x68ef8a398b71607cf0b70332300d4c68596fa6512bb11de865b5e8af69fd88e0

Functions
Getter at block 22755520
DOMAIN_SEPARATOR(view returns (bytes32)
0xf11f10625f7812d26feb30277049cf3a1d31749680160c8633f1de4c9766170b
blockTimestampLast(view returns (uint256)
1732288047
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=278526671295139325265626868, reserve1Cumulative=140145181143633389919732860, blockTimestamp=1732300387)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xa5b1c80b6ddc11e751e405d9374265055762f66e, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=364499150730124564319, _reserve1=186695701089489283809, _blockTimestampLast=1732288047)
index0(view returns (uint256)
322913762855765
index1(view returns (uint256)
187476128485932
lastObservation(view returns (struct IPoolObservation)
(1732288047, 274028751775129588141930408, 137841356192189092157529800)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=364499150730124564319, r1=186695701089489283809, st=false, t0=0x4200000000000000000000000000000000000006, t1=0x9eaf8c1e34f05a589eda6bafdf391cf6ad3cb239)
name(view returns (string)
Volatile AMM - WETH/YFI
observationLength(view returns (uint256)
117
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xc50c2f3c90571e603f2e29a0da0b9eda67189b88
reserve0(view returns (uint256)
364499150730124564319
reserve0CumulativeLast(view returns (uint256)
274028751775129588141930408
reserve1(view returns (uint256)
186695701089489283809
reserve1CumulativeLast(view returns (uint256)
137841356192189092157529800
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-WETH/YFI
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0x9eaf8c1e34f05a589eda6bafdf391cf6ad3cb239
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0x9eaf8c1e34f05a589eda6bafdf391cf6ad3cb239)
totalSupply(view returns (uint256)
260688520818711463079
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