Volatile AMM - ERN/stERN

Unverified contract

Proxy

Active on Base with 378 txns
Deployed by via 0x76c2d720 at 3204843
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $3
ERC-20
Value $2.8
0x64e20f269fcbd7f30873bbada91f70ab196d94a24652d127598ad54803de6b06
0x1524d988a4675096037964b126c93ef38f6ea8bc1dab56d8cd9fbc6d187cff96
0x051484e9a5dd8036304f8ac82fc59f20193abd7e979e1703ae3d022ff49fdae7
0x215663d3a9e362c87957cd21d6da062d31ad143e5a54224269154925d711e453
0x0f107aaf09b7b55b1cc7cfc4752c89289ccc7196dce1db4b0964969e583c8335
0x85bd77af61e8f31a210c1cf33ac52d61e7b48b0d264e6b30e029d01cfe2e11aa
0x968db068e199db87d822d937ea2d07f6ec1a5d62631acdfb2f605aead242fed3
0xa2580683fb695adc21017600fd919257e3a462267543f9c0998fa815aaa08539
0xe5abe6ee9ae66633a756fee0eb3acb3d1f7188b1fe60417ed4ed97a5de0e0137
0xa2100da290af43785bb2ae869a1dc8455e9eb872ae748657bf27a023908defc2

Functions
Getter at block 22938413
DOMAIN_SEPARATOR(view returns (bytes32)
0x61056c54386f61d488bf1f0dc098b067e68b022e576ab7cbd9f4c839dd42e927
blockTimestampLast(view returns (uint256)
1732422485
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=2267340581784357334607770576630, reserve1Cumulative=2202164009933657805395885644536, blockTimestamp=1732666173)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x218f511431194b2c756d67a137de536bea74e498, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=2839098956691681510, _reserve1=2929184765968069873, _blockTimestampLast=1732422485)
index0(view returns (uint256)
5183392250683914
index1(view returns (uint256)
5251889953478121
lastObservation(view returns (struct IPoolObservation)
(1732422485, 2267339889930010776325286767750, 2202163296126480556168874432912)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=2839098956691681510, r1=2929184765968069873, st=false, t0=0xa334884bf6b0a066d553d19e507315e839409e62, t1=0xf7a0dd3317535ec4f4d29adf9d620b3d8d5d5069)
name(view returns (string)
Volatile AMM - ERN/stERN
observationLength(view returns (uint256)
626
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x47c7c81ef2d16892ba8aac3e9c03747ea9487a02
reserve0(view returns (uint256)
2839098956691681510
reserve0CumulativeLast(view returns (uint256)
2267339889930010776325286767750
reserve1(view returns (uint256)
2929184765968069873
reserve1CumulativeLast(view returns (uint256)
2202163296126480556168874432912
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-ERN/stERN
token0(view returns (address)
0xa334884bf6b0a066d553d19e507315e839409e62
token1(view returns (address)
0xf7a0dd3317535ec4f4d29adf9d620b3d8d5d5069
tokens(view returns (addressaddress)
(0xa334884bf6b0a066d553d19e507315e839409e62, 0xf7a0dd3317535ec4f4d29adf9d620b3d8d5d5069)
totalSupply(view returns (uint256)
2883762921598960896
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