Stable AMM - WETH/XEN

Unverified contract

Proxy

Active on Base with 27 txns
Deployed by via 0x053ffafb at 12445573
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $3.6
ERC-20
Value $1.13
ERC-20
Value $0.05
ERC-20
Value $0
ERC-20
Value $0
0xdb0750cde4eb8d9bce217edaeb254510905745148caaaa85e52e490bee4e2a35
0x355158c747bb00fba2cc55443be67008dfd5db880052eef43b4a02842a6ad326
0xa981a69b2a271deb5ef2aeab9511ddbc39c3e569ebe5fb75b6c7923ddc323c99
0x02144e914ba0d6a81ac4aed8f4adb64a20c745782483351554979feb7c4e0804
0xda414da081f57a519f6e69e4b8592689a01538cefbe2c3d4a5dba01c43288df2
0x9b2d11b2bf21c67e0f325142c27a4b343ebf47013197e461be59ad90702e5551
0x419d11da96277122e515698592d2d870f3bfdf68f8aed5f1b43e40cccd407f15
0x0830a75468ec1787c09c69b3242997cf17c37d2af0c3b86ceb5a64256930f126
0x1728f444ca30a4bbe6dc166fbd0040a95d6f8d6e64a4512f8ba552f4217b3077
0x61cbeeb905e354f8c700509528c2d6e13d726d07f5ffac059ab6815496e8ae1a

Functions
Getter at block 23070798
DOMAIN_SEPARATOR(view returns (bytes32)
0x72c7cd95d03312690cb6b377f97e506e9b4d64d24726ff1fb2228b11295a6112
blockTimestampLast(view returns (uint256)
1732872585
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=24139701423376827832600, reserve1Cumulative=274060791560903977771404763224, blockTimestamp=1732930943)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xa69f7bd12eb860942ebfe2f8df66e1d7ca01058a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=315697868440795, _reserve1=25152694581577843804809, _blockTimestampLast=1732872585)
index0(view returns (uint256)
251924051898
index1(view returns (uint256)
2468957639113831258
lastObservation(view returns (struct IPoolObservation)
(1732872585, 24121277927170359917990, 272592930610512257962643719602)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=315697868440795, r1=25152694581577843804809, st=true, t0=0x4200000000000000000000000000000000000006, t1=0x981d41c115a2d48cb1215d13bda8f989d407c9c5)
name(view returns (string)
Stable AMM - WETH/XEN
observationLength(view returns (uint256)
99
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x125e111a66f81b5e4af7e67f92eb9397e6a03091
reserve0(view returns (uint256)
315697868440795
reserve0CumulativeLast(view returns (uint256)
24121277927170359917990
reserve1(view returns (uint256)
25152694581577843804809
reserve1CumulativeLast(view returns (uint256)
272592930610512257962643719602
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-WETH/XEN
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0x981d41c115a2d48cb1215d13bda8f989d407c9c5
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0x981d41c115a2d48cb1215d13bda8f989d407c9c5)
totalSupply(view returns (uint256)
8473368405505620449
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