Volatile AMM - BITCOIN/SPX

Unverified contract

Proxy

Active on Base with 9 txns
Deployed by via 0x66a99d0e at 14871855
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.02
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0xbd78c6f92913489e72d425acb82e07dc4cbf8df5e3ece6ae313884dba661863f
0x4f47cc2417eab56f920370e6dfc1c499e37420fb83d5ead31fa48f93ba61028a
0xb1d1b95339ec6c289f65eacced379237385a1b2096d6615f18ccaa4710e5f9d6
0x257db931316884c6bc2184b58e3c6c2365e584fb778799d917feae0390a7e58a
0xa701b166c7255ebf6c4977bd74e79d192c7718a55c1263981ffa1b289ea7cdce
0x4509307f8f30026cf5cea39b771815f86699afba17d3bcbc5c492512ff215b89
0x81d3ed2f5eb7105cf5913d632f75322136b292dbe923d90dd2393deeb324aa2a
0x51dce9b8e75486eca5b3ef155f762a4f2d1b170b38ee054adaf6c4cc6aa690ac
0x9c77bea53710e97cadcc1748235cd9908f635a8e1e8c739341c6c9f90a8b60d6

Functions
Getter at block 21779173
DOMAIN_SEPARATOR(view returns (bytes32)
0x8aecdc70e57e8f66e44f34bb9c75d5b8a5de7ed98a87bc5d799d8183604ba622
blockTimestampLast(view returns (uint256)
1729855783
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=122711463314088682, reserve1Cumulative=469981320976217074, blockTimestamp=1730347693)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xe2352abb44d085b94a71c9d5fdb91f050150ec3a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=1763, _reserve1=571, _blockTimestampLast=1729855783)
index0(view returns (uint256)
7572439509275010
index1(view returns (uint256)
9399244134956002
lastObservation(view returns (struct IPoolObservation)
(1729855783, 122711462446851352, 469981320695336464)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=100000000, dec1=100000000, r0=1763, r1=571, st=false, t0=0x2a06a17cbc6d0032cac2c6696da90f29d39a1a29, t1=0x50da645f148798f68ef2d7db7c1cb22a6819bb2c)
name(view returns (string)
Volatile AMM - BITCOIN/SPX
observationLength(view returns (uint256)
188
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xb9fc506060eb566ec6c18ecd8c124f8fa5047bd3
reserve0(view returns (uint256)
1763
reserve0CumulativeLast(view returns (uint256)
122711462446851352
reserve1(view returns (uint256)
571
reserve1CumulativeLast(view returns (uint256)
469981320695336464
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-BITCOIN/SPX
token0(view returns (address)
0x2a06a17cbc6d0032cac2c6696da90f29d39a1a29
token1(view returns (address)
0x50da645f148798f68ef2d7db7c1cb22a6819bb2c
tokens(view returns (addressaddress)
(0x2a06a17cbc6d0032cac2c6696da90f29d39a1a29, 0x50da645f148798f68ef2d7db7c1cb22a6819bb2c)
totalSupply(view returns (uint256)
1001
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