Volatile AMM - USDC/XSWAP

Unverified contract

Proxy

Active on Base with 621 txns
Deployed by via 0x48fff01b at 14108360
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $86,710.86
ERC-20
Value $86,704.6
ERC-20
Value $0.12
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xf2bcef88c8b3c6f75da9ac5aa6de87d7c511b7baf5f797d98953cad337bfd792
0x4242e58e9284e1bbaa33ebcc6547ac9a19e844d73c209af80e08af706272bebb
0x087b47b62435c9d4f7f7d526e6d67b04a05c3dfc7a1fdd46100946990fe2e433
0x9963c8a7f8d65606d78829cb3eb863404ca36cab6f1302cde01dbe0f9b75247c
0x6c0dbe6566d81bfe0114c108c833b56e64c4d56a7b0c24348662686cb1a1b0c8
0x3d02e2c374b7ba8849e71e93ee6c42e75cd502e9c4544029d20c6b2e2af0cc89
0x16393c5b9842e18932330fcaa8ce71d5318165b5a255d52c2491a094b1119047
0x35e17f188e902aab5ee60f95898926f1286f273773f4e86d5cbd1c84e24ee5dc
0xa97c9cc4e062a5528b5a9a241f918fb14b30240b59742c3e42453dda70f2662b
0x4bc68290565ec508065cdbc3fcd4caedbf3ee490cb7ac1eb9947f20fad14fbcf

Functions
Getter at block 22770689
DOMAIN_SEPARATOR(view returns (bytes32)
0xc7f28c681209b054c02fbfa6940485731ca58874e7833a0d9b6d6e0b41310a2d
blockTimestampLast(view returns (uint256)
1732323673
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=2027894979177180910, reserve1Cumulative=27599432813666349664717708138174, blockTimestamp=1732330725)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xcdb55b284257fd5f879598ba9e4b852bb0c3edf1, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=86746757998, _reserve1=1564895578638769161733382, _blockTimestampLast=1732323673)
index0(view returns (uint256)
35046106097
index1(view returns (uint256)
422665715810581019899272
lastObservation(view returns (struct IPoolObservation)
(1732323673, 2027283241039779014, 27588397170045789064589164328310)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000, dec1=1000000000000000000, r0=86746757998, r1=1564895578638769161733382, st=false, t0=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, t1=0x8fe815417913a93ea99049fc0718ee1647a2a07c)
name(view returns (string)
Volatile AMM - USDC/XSWAP
observationLength(view returns (uint256)
4205
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x31e25df9b2e464340525f802420dff54564cfdcb
reserve0(view returns (uint256)
86746757998
reserve0CumulativeLast(view returns (uint256)
2027283241039779014
reserve1(view returns (uint256)
1564895578638769161733382
reserve1CumulativeLast(view returns (uint256)
27588397170045789064589164328310
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-USDC/XSWAP
token0(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
token1(view returns (address)
0x8fe815417913a93ea99049fc0718ee1647a2a07c
tokens(view returns (addressaddress)
(0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, 0x8fe815417913a93ea99049fc0718ee1647a2a07c)
totalSupply(view returns (uint256)
367983743445091817
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