Stable AMM - wXCH/AERO

Unverified contract

Proxy

Active on Base with 25 txns
Deployed by via 0x5ca1915b at 18047414
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
--
0x6dd555d695e3a3cd7122d215e5ba886eef9788e28a83d54b2eea75112ef28905
0xea6e6e7c5223a7d522d30bf604c9a4785231f4b197319c2504033047695830db
0x52313147afb826d4d7a301547534267bd68de6d5c29fec551b9b796734f30da7
0x6bd4769c25c7bec662d1d6828414da56485e26d89ef34bd5e92937cd033a9a50
0x544b6fae95c1a4f7b42eba89d88fe163271ec64e022e56b2d94d6d16b0f36473
0x78b90365a1afeb4edb291def61ae3743bbef7962670f5c66ec56521bc5db0721
0x5df41f1d1795f5dd5f85fa8c545a29b91ab54c7f087915bf1b7b029b4e90226c
0xff581e52c361a7eeb95a468ad14581efb4e02557549adfd4bbd491947e7736a7
0xd7f2c15d1bd2f8a584da4f163cdc01a0a49dbc55b66f41b0d5e1bf951c58df32
0xdcb95c0e9514d2d8f54284c6c5fc600d4944a82327b166400224654c08a1f08e

Functions
Getter at block 21761661
DOMAIN_SEPARATOR(view returns (bytes32)
0x6293041c522c26af5581a2475bd24216d982e2dce8ab2bbaba236b04ba13c768
blockTimestampLast(view returns (uint256)
1729389009
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=53981953029238445580459418, reserve1Cumulative=2168541599584953833991501386, blockTimestamp=1730312669)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xce9e56a919334d00122484a05bd9d64abeae9e9a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=86, _reserve1=2898, _blockTimestampLast=1729389009)
index0(view returns (uint256)
116394988120990
index1(view returns (uint256)
2577833056411131
lastObservation(view returns (struct IPoolObservation)
(1729389009, 53981953029238445501024658, 2168541599584953831314734706)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=86, r1=2898, st=true, t0=0x36be1d329444aef5d28df3662ec5b4f965cd93e9, t1=0x940181a94a35a4569e4529a3cdfb74e38fd98631)
name(view returns (string)
Stable AMM - wXCH/AERO
observationLength(view returns (uint256)
489
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x1b0cdedf2045df4fe40c7ee25144ee4b8eb9b217
reserve0(view returns (uint256)
86
reserve0CumulativeLast(view returns (uint256)
53981953029238445501024658
reserve1(view returns (uint256)
2898
reserve1CumulativeLast(view returns (uint256)
2168541599584953831314734706
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-wXCH/AERO
token0(view returns (address)
0x36be1d329444aef5d28df3662ec5b4f965cd93e9
token1(view returns (address)
0x940181a94a35a4569e4529a3cdfb74e38fd98631
tokens(view returns (addressaddress)
(0x36be1d329444aef5d28df3662ec5b4f965cd93e9, 0x940181a94a35a4569e4529a3cdfb74e38fd98631)
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