Stable AMM - VIRTUAL/WETH

Unverified contract

Proxy

Active on Base with 42 txns
Deployed by via 0xc66c9832 at 13213783
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $122.61
ERC-20
Value $40.25
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x9a4e96e8026dc539b8c3d48812bf9abaf6b24eda941c155b0d880caf44cec52f
0x76b4e338a177d789522585f47fa50506da9666527c7a6501b7056895bb0ee6cd
0xaa726da4e44d65ee2a801da7c7c15ae2548d9614d63fdd945c81d66ea720472f
0x71c0af6207595abb31568bef71584c546c8a8c29087f5383a19c51b5513fcbf7
0x17109808ee947caf2945b612f3743c4b65504248bcea04806999185726c2c324
0xcf7b762a4b17ed1b97b6e25c617a7c351fc2f4b7096a2bbc61cd29808848a98d
0x9672537e9d988ba39965ee905ba9a453ac33adb404468bc1a0f1416321713d43
0x6affab4624b02a9916e680c07976e3a353cc3dfbfa82ec1386ad723083112270
0x2b640ab08e682cb8003dcfc930325ba52a67261e9258025a61be5a43a6d9a8c9
0xbc9d8f75d2b081b500ca3024e7803070a897a8b8b28844f936e688e7a5ab4958

Functions
Getter at block 21797696
DOMAIN_SEPARATOR(view returns (bytes32)
0xb5e41145283d29d5fe1141e98b696a417c39f5140194788d58931c6117fc2376
blockTimestampLast(view returns (uint256)
1730383243
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=10591881662339627486216520232, reserve1Cumulative=83927741688464293509058, blockTimestamp=1730384739)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x5358a89a2b61ae92f5c519018dd9ae427eb38026, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=389814363899092837730, _reserve1=15631559816596751, _blockTimestampLast=1730383243)
index0(view returns (uint256)
89572552657555096
index1(view returns (uint256)
4505470311533
lastObservation(view returns (struct IPoolObservation)
(1730383243, 10591298500051234443331276152, 83904356874978664769562)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=389814363899092837730, r1=15631559816596751, st=true, t0=0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b, t1=0x4200000000000000000000000000000000000006)
name(view returns (string)
Stable AMM - VIRTUAL/WETH
observationLength(view returns (uint256)
889
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x51a3fb00210584bfbb4d768b261c9bb7c290032a
reserve0(view returns (uint256)
389814363899092837730
reserve0CumulativeLast(view returns (uint256)
10591298500051234443331276152
reserve1(view returns (uint256)
15631559816596751
reserve1CumulativeLast(view returns (uint256)
83904356874978664769562
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-VIRTUAL/WETH
token0(view returns (address)
0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b
token1(view returns (address)
0x4200000000000000000000000000000000000006
tokens(view returns (addressaddress)
(0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b, 0x4200000000000000000000000000000000000006)
totalSupply(view returns (uint256)
15247931265311667100
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