Volatile AMM - YFX/USD+

Unverified contract

Proxy

Active on Base with 121 txns
Deployed by via 0x5c47e86b at 3570865
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $0.38
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x12cbf3e658873fd9555f5ca427cae1d51ee4d12f5180ed88061bca7906606673
0xa759fd5c3904d40b4bdf6c655db25a8796eb1df3b391ee6b0ec95b4a101e70c2
0x9e152f6a200f84c42215552bca8e44d4db4f672cd6cfedf583bd124f78b147c7
0xdee29afe298fa0ae83beb0e4797e7e0d2cc1197e2e08d9fe936431b6fe643c63
0xced9eae7708ada5b419f3738e922856ee6ae2a961b6d26891390faf2af48dab0
0x33579c9882e0a25f728f9f0900a5a447243fbce2e1e237a2a0a53d14e5861fed
0x9026413c372d9ddd5622d76ef5dc98ea88e5ae88ee70644a79a78512069d5669
0xe15b6a3c679c39cd5bf0aef4a547c974539c8689b4f5669e752a3515b8d44f3b
0x8b85bdfa75c6a9b13452605888c406130de5a79d435ea831c1d3845a90e5d1fa
0xc9d6d952a2a01e91208183b2e8c40d98aa569909c01d8cbb03a802a58d95008c

Functions
Getter at block 21815527
DOMAIN_SEPARATOR(view returns (bytes32)
0xf3b308c3a544307291121ca0b4e9f32405397c9769096410e3e056da23bbefe0
blockTimestampLast(view returns (uint256)
1730416777
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=1085621101451262192095349270436, reserve1Cumulative=1071206147778399862, blockTimestamp=1730420401)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xc3b5ac236fb5abe245310feca2526f89667d4cae, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=466334338408739746, _reserve1=379928, _blockTimestampLast=1730416777)
index0(view returns (uint256)
10270589239717421525319
index1(view returns (uint256)
22467069000
lastObservation(view returns (struct IPoolObservation)
(1730416777, 1085621099761266549702076430932, 1071206146401540790)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000, r0=466334338408739746, r1=379928, st=false, t0=0x8901cb2e82cc95c01e42206f8d1f417fe53e7af0, t1=0xb79dd08ea68a908a97220c76d19a6aa9cbde4376)
name(view returns (string)
Volatile AMM - YFX/USD+
observationLength(view returns (uint256)
678
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xd1c47f7a62d4b6fc1561967ba9b506e4d478dd44
reserve0(view returns (uint256)
466334338408739746
reserve0CumulativeLast(view returns (uint256)
1085621099761266549702076430932
reserve1(view returns (uint256)
379928
reserve1CumulativeLast(view returns (uint256)
1071206146401540790
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-YFX/USD+
token0(view returns (address)
0x8901cb2e82cc95c01e42206f8d1f417fe53e7af0
token1(view returns (address)
0xb79dd08ea68a908a97220c76d19a6aa9cbde4376
tokens(view returns (addressaddress)
(0x8901cb2e82cc95c01e42206f8d1f417fe53e7af0, 0xb79dd08ea68a908a97220c76d19a6aa9cbde4376)
totalSupply(view returns (uint256)
391783711621
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