Volatile AMM - WETH/SPX

Unverified contract

Proxy

Active on Base with 1,243 txns
Deployed by via 0x9a8b3629 at 11821137
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $780,997.13
ERC-20
Value $779,000.18
ERC-20
Value $272.43
ERC-20
Value $0.05
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x907b11bd1ccdcbe2451af1cb484294b10cb2eae10882441422600c02a1b43038
0x8c685a55f8f56e0364847bb6af9dc09c96097db480172997cdf35828cd69a45d
0x90094fada7b5539a972cf14c3ce37a0bfc453fb08b016d3c55970832b6ddfb3d
0x384762899065674800af2350e13fec906374911bb9752b0a86981dd726160caf
0xca8f24993f316967ef5a2b486bb1193097d3c307300a6465d6eb93721c9d68d0
0x585e96a486a9bf2aa90e97e18316045af4500d31470f0de451312b42fc0d4022
0x86b98ac4020e5362c0a5bd9fd73082872a9f2f30b159f7a1d7f362b7d6dcfcc4
0x812b9387ef34aed75119e905648057ae1c6459a12db1d9996492d18a8d85c19a
0xb786ccb0cebcee5fa7172c65e2b1e413af5d190f7ed7b90897eac04ee1d57427
0xefbd4fc51a3279762ad42cd5b2be159797b792b2ed854e557c3d9a78dbca97e2

Functions
Getter at block 22743775
DOMAIN_SEPARATOR(view returns (bytes32)
0x152f62f0c137c000fd768a2b666e10ae28104bff8a70e1de639fea5ea592e770
blockTimestampLast(view returns (uint256)
1732275653
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=1753988294751281797359484642, reserve1Cumulative=11551324345238423747390, blockTimestamp=1732276897)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xe96a4e9ea3a2c6db214174738a19eb7dbb8a3069, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=233290855166747525899, _reserve1=142960731952791, _blockTimestampLast=1732275653)
index0(view returns (uint256)
305486208398469110534
index1(view returns (uint256)
1934259686067829
lastObservation(view returns (struct IPoolObservation)
(1732273895, 1753288156277288590867369610, 11550895054087141489496)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=100000000, r0=233290855166747525899, r1=142960731952791, st=false, t0=0x4200000000000000000000000000000000000006, t1=0x50da645f148798f68ef2d7db7c1cb22a6819bb2c)
name(view returns (string)
Volatile AMM - WETH/SPX
observationLength(view returns (uint256)
5975
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xc63a65d982b9c0f58d9f0ed6deafd1f3e09456ae
reserve0(view returns (uint256)
233290855166747525899
reserve0CumulativeLast(view returns (uint256)
1753698080927454363437266286
reserve1(view returns (uint256)
142960731952791
reserve1CumulativeLast(view returns (uint256)
11551146502087874475386
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-WETH/SPX
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0x50da645f148798f68ef2d7db7c1cb22a6819bb2c
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0x50da645f148798f68ef2d7db7c1cb22a6819bb2c)
totalSupply(view returns (uint256)
182604571412963293
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