Volatile AMM - MAI/QI

Unverified contract

Proxy

Active on Base with 111 txns
Deployed by via 0x174ac818 at 13838375
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $6.59
ERC-20
Value $6.31
ERC-20
Value $0
0x840c34ae588694b58734378240549c0a5f025421c3f8e12e3ece8e4a322b84b1
0x9ee4fef23f33862aeffc3337c2e2da4d449b1d5529ce33c7f72cadd95d3565cd
0x05339b323a4fd1ff6b13598c1c4acf7f52207f8d5aacaec5681664b00afba911
0x92467d52feb6a07c70157e4128bb9169e586e8c077b97cb9b378592fce525a82
0x1c68fe6c2e1f9db1b4f540eb9acebf9c1d7c0fffbb052b9c77a2061ee1725d84
0x8d2400e23836ff06a0dd095033f83f59e7e450050288e0c78180f0eab9c1bcb0
0x7ca99a94eb19c51f679285bff948ab621440b1117ea4bf3e3328d53e5aa93f24
0x490bce2001408818e09979508beb05976132a8de62302e3f912b83d08eee1c53
0x5c97dfd88354d78492e9f2e8e377a7dee9daeb12c606f6e3f96e306e68aa989b
0x9a88535fed7e659746b72a945cff9b9dc782f0d98212608bdeda418150e65350

Functions
Getter at block 21808415
DOMAIN_SEPARATOR(view returns (bytes32)
0x55e4c4098da26d5894d1266456e13f8be3f5da38b57324f055fb831859c31588
blockTimestampLast(view returns (uint256)
1729333975
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=156851348184927070932351289514, reserve1Cumulative=1897181280318779034320764784716, blockTimestamp=1730406177)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x1894416a511251cfdd350b80be256f4d166dca0e, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=6615940119362327393, _reserve1=321932322311509084245, _blockTimestampLast=1729333975)
index0(view returns (uint256)
1165204202689764
index1(view returns (uint256)
31377264915442215
lastObservation(view returns (struct IPoolObservation)
(1729333975, 156844254560699210406195860128, 1896836103838931989657619127226)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=6615940119362327393, r1=321932322311509084245, st=false, t0=0xbf1aea8670d2528e08334083616dd9c5f3b087ae, t1=0xd3fdcb837dafdb7c9c3ebd48fe22a53f6dd3d7d7)
name(view returns (string)
Volatile AMM - MAI/QI
observationLength(view returns (uint256)
447
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x2578db3f11c00d709c2234d60f06c82dde02d6db
reserve0(view returns (uint256)
6615940119362327393
reserve0CumulativeLast(view returns (uint256)
156844254560699210406195860128
reserve1(view returns (uint256)
321932322311509084245
reserve1CumulativeLast(view returns (uint256)
1896836103838931989657619127226
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-MAI/QI
token0(view returns (address)
0xbf1aea8670d2528e08334083616dd9c5f3b087ae
token1(view returns (address)
0xd3fdcb837dafdb7c9c3ebd48fe22a53f6dd3d7d7
tokens(view returns (addressaddress)
(0xbf1aea8670d2528e08334083616dd9c5f3b087ae, 0xd3fdcb837dafdb7c9c3ebd48fe22a53f6dd3d7d7)
totalSupply(view returns (uint256)
46150485469638575583
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