Volatile AMM - BRETT/USD+

Unverified contract

Proxy

Active on Base with 3 txns
Deployed by via 0x25644e16 at 13741248
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
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
0x8601f2a8a5e768a15aa3942064dc646720b940c896a4a7532c7c9e0d8d834f9c
0xe1d3e2752ba265b8821e567959550a48e00e78a192fccd4bc98e5e17ffd3df6c
0x0478759e105bf4647d2871b0bec727dc08e753291605893a65810cb4c4451257

Functions
Getter at block 23071668
DOMAIN_SEPARATOR(view returns (bytes32)
0x29f939f05b4674d733f7e80eba20162ba6a2f18ca2931fe1598ccca92967b94e
blockTimestampLast(view returns (uint256)
1714314171
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=95712745610026703705484378, reserve1Cumulative=4631565510622, blockTimestamp=1732932683)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xb106108eba7b5242fb912d16f2c8f7ae5c8c0aa7, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=4532745577, _reserve1=1, _blockTimestampLast=1714314171)
index0(view returns (uint256)
1368898254967487946244
index1(view returns (uint256)
99981138
lastObservation(view returns (struct IPoolObservation)
(1714314119, 95595524941192432207065298, 4625841556110)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000, r0=4532745577, r1=1, st=false, t0=0x532f27101965dd16442e59d40670faf5ebb142e4, t1=0xb79dd08ea68a908a97220c76d19a6aa9cbde4376)
name(view returns (string)
Volatile AMM - BRETT/USD+
observationLength(view returns (uint256)
13
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x8a0b1d7d33b51e75b4d42fe952b13ae0515ad2b6
reserve0(view returns (uint256)
4532745577
reserve0CumulativeLast(view returns (uint256)
95712745525633725787162954
reserve1(view returns (uint256)
1
reserve1CumulativeLast(view returns (uint256)
4631546892110
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-BRETT/USD+
token0(view returns (address)
0x532f27101965dd16442e59d40670faf5ebb142e4
token1(view returns (address)
0xb79dd08ea68a908a97220c76d19a6aa9cbde4376
tokens(view returns (addressaddress)
(0x532f27101965dd16442e59d40670faf5ebb142e4, 0xb79dd08ea68a908a97220c76d19a6aa9cbde4376)
totalSupply(view returns (uint256)
1000
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