Volatile AMM - WETH/SPX

Unverified contract

Proxy

Active on Base with 1,063 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 $1,334,491.35
ERC-20
Value $1,332,632.02
ERC-20
Value $0.06
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xfe5947fe2ebb4dd4f4d7dcec882923e108ccc70cf0771ad5af0f4dc6f6e63eec
0xe4b55770d1eb740657de00d9b4e56017a7999145c91eee62f674a4cac2dfda4a
0x8d50a18c29ca47dd6e54cb35e27e5ada2e656d7f1331695f1b4de9b0f3235815
0xa1244fcf1b9b8f4cd8fd9ceaa98d1d6a0de1899e3e16c5ea4e07467a728d6e96
0xee2ff4ce4a0ee8496fcc30d28e73f9779481a359fec8197e40755d515b87501f
0xd1ae9499b6a880a0f29d34eb3fe3eeb66715606b069b9a0da5480fe407da19ee
0xa7a032f9b0fc841b67eb9cd6bd9ce5255f6565d1c83a9a62ce8d8772fe9c35a8
0x483609f2fe8c76fe0a6618ad1464c45079fd91a9b76cd80dba3a2dbf468b05e0
0x53e50694a7ef117ba3e8f43b7a7056c9abb48d36f58c46678b9dd78857135550
0x4d5ce2e5316aee4cb4a4ee2c44d36a330f4ddbc77c03b968cbb8f4c5670d2002

Functions
Getter at block 21757949
DOMAIN_SEPARATOR(view returns (bytes32)
0x152f62f0c137c000fd768a2b666e10ae28104bff8a70e1de639fea5ea592e770
blockTimestampLast(view returns (uint256)
1730304855
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=1135669627027265074198682932, reserve1Cumulative=11297829059663734750818, blockTimestamp=1730305245)
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=498422497806714337965, _reserve1=147770906730336, _blockTimestampLast=1730304855)
index0(view returns (uint256)
257772349085938339192
index1(view returns (uint256)
1909545239805570
lastObservation(view returns (struct IPoolObservation)
(1730304725, 1135410369622600304923165972, 11297752241802639172228)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=100000000, r0=498422497806714337965, r1=147770906730336, st=false, t0=0x4200000000000000000000000000000000000006, t1=0x50da645f148798f68ef2d7db7c1cb22a6819bb2c)
name(view returns (string)
Volatile AMM - WETH/SPX
observationLength(view returns (uint256)
5114
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xc63a65d982b9c0f58d9f0ed6deafd1f3e09456ae
reserve0(view returns (uint256)
498422497806714337965
reserve0CumulativeLast(view returns (uint256)
1135475242253120455606876582
reserve1(view returns (uint256)
147770906730336
reserve1CumulativeLast(view returns (uint256)
11297771429010109919778
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)
271387065925985571
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