Volatile AMM - BRETT/APX

Unverified contract

Proxy

Active on Base with 18 txns
Deployed by via 0x38aedccb at 20679522
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $9.01
ERC-20
Value $8.96
0x2dde1c37b7d7ff4c95515e7d65b44c1962d55e77d9d5337a53f795ad23ab90a4
0x8b45394345b9361a0f8546b5eccd207d64083b32f687e409c3a2e37ad58ab98c
0x778703ebb188342e14e6a7b9f65d3cd8463a621ab6b2a5683b2345b3e888a9af
0x7e47ddd9e808978b2a0c9f647925a7947127000f42ce1bde5eaa9435b2e37ae6
0x275af57ea84aed1582b1b973844646ef88d8c9e2da5396c23099a1e7ed257410
0x9133631673d881c492b6cbd7b80da09e53af97ac14c31f411f94429d6d871003
0x951c1a1133be755f038a0767391053124305bda55fac2eb1052d48716230711b
0xbfe8ddcf8d8561133d10d99f1aa81aae3db4c26240a292167b74054205206972
0x92b5aa91b7ec1724b1726d724c8c8e491344f9b493b77bb6440d1bc69a15c17b
0x5131fad81122152b014581d627110b8d6f6584c381bf1aa48b06d0b05ff48cb5

Functions
Getter at block 22768223
DOMAIN_SEPARATOR(view returns (bytes32)
0x61fb79e9591164918f332817c4b9383bd4026d1272991987b8de95ce2d0873c2
blockTimestampLast(view returns (uint256)
1732284075
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=1707573349445235106279258522, reserve1Cumulative=1093146927908619308234765909832, blockTimestamp=1732325793)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xf316a997112536b575d2adaa77a0ee3c88cce0c7, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=56344729628292861293, _reserve1=35980578621252463691621, _blockTimestampLast=1732284075)
index0(view returns (uint256)
243848530884188
index1(view returns (uint256)
148564013922561481
lastObservation(view returns (struct IPoolObservation)
(1732284075, 1705222760014601984691837148, 1091645890129697897954478864954)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=56344729628292861293, r1=35980578621252463691621, st=false, t0=0x532f27101965dd16442e59d40670faf5ebb142e4, t1=0xcacf1ca03983ce6c7e235fb20c70acc70ed13509)
name(view returns (string)
Volatile AMM - BRETT/APX
observationLength(view returns (uint256)
120
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x72d1772719c7d1d4bff0166799b647179295ea1e
reserve0(view returns (uint256)
56344729628292861293
reserve0CumulativeLast(view returns (uint256)
1705222760014601984691837148
reserve1(view returns (uint256)
35980578621252463691621
reserve1CumulativeLast(view returns (uint256)
1091645890129697897954478864954
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-BRETT/APX
token0(view returns (address)
0x532f27101965dd16442e59d40670faf5ebb142e4
token1(view returns (address)
0xcacf1ca03983ce6c7e235fb20c70acc70ed13509
tokens(view returns (addressaddress)
(0x532f27101965dd16442e59d40670faf5ebb142e4, 0xcacf1ca03983ce6c7e235fb20c70acc70ed13509)
totalSupply(view returns (uint256)
1423743215908680072940
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