Volatile AMM - WETH/NBARA

Unverified contract

Proxy

Active on Base with 2 txns
Deployed by via 0x10785fcd at 23247744
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
--
0xcab43422749cd19f0ff8db5231823f4517a4f045472ede9c81aa1dc2a17f732e
0xc25aec2ac74fa9afbe5fbcd7e4e93060e7643db8c625d82502acf5d627f6a38a

Functions
Getter at block 23284806
DOMAIN_SEPARATOR(view returns (bytes32)
0xc378503a50b8f97ef986a74553d713a43a633d87837fb959ce6c7c8b2760e6c0
blockTimestampLast(view returns (uint256)
1733349359
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=115749288140702095480, reserve1Cumulative=543973788446865738053177876, blockTimestamp=1733358959)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xa1a26938665f88233e8bfc5c2ada91404fc1e578, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=98661979185, _reserve1=1974567965343087, _blockTimestampLast=1733349359)
index0(view returns (uint256)
966181079162050001375378284111
index1(view returns (uint256)
16843813862592488308593962228889962
lastObservation(view returns (struct IPoolObservation)
(1733349351, 115230926004795569792, 543964239364456625533585652)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=98661979185, r1=1974567965343087, st=false, t0=0x4200000000000000000000000000000000000006, t1=0x7c95c5ad385ffe4de45bc6b104ce23f550e12ed3)
name(view returns (string)
Volatile AMM - WETH/NBARA
observationLength(view returns (uint256)
5
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x9e93e6b234676499871f6a7063e38b8c8ff7bc6a
reserve0(view returns (uint256)
98661979185
reserve0CumulativeLast(view returns (uint256)
115748340985701919480
reserve1(view returns (uint256)
1974567965343087
reserve1CumulativeLast(view returns (uint256)
543973769491013270759542676
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-WETH/NBARA
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0x7c95c5ad385ffe4de45bc6b104ce23f550e12ed3
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0x7c95c5ad385ffe4de45bc6b104ce23f550e12ed3)
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