Stable AMM - wXCH/USDC

Unverified contract

Proxy

Active on Base with 16 txns
Deployed by via 0x18101752 at 17110266
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
--
0xf3085cb6c96ad935f5c3f94652ec0b97b0ab407089361f68febe50f46d73daf3
0x774df7b7e12be1598a85191553c190756b6b8b064e9273eca9b4ab3c616b14d3
0xa9b72ad963c7392d8ed8c15b96f3e4feaaa2eaddea7e6a2773e3c7fe5c8623a2
0x2ee65319d91c666af42335b9eacd9a8ac8d8b7cd2e939572296b88eb2bd538b8
0xf561892b18503ed19e416c1c302a166c2dbe5b2e22d19f94fede496c7bd14f27
0x9efcade2e8d0e2b8798147aa0b09c2b668463568a5f950fbe0264e5161b5c772
0x0dd1cec258a7afa6869e4a5574b07b4bb9a4dcde8caa2a8a66ffa2808f179ba1
0x46d3f1b230e654044d3867fc9628a9b47afb99d5d1afd4364e3842fbdedb1156
0x6fe274637784e3252a88c3f0effc3e0ebf444fdf41f541c5235bf49cd1576431
0x151834c893104ac2ba8209f18f70c133129cae3678cb7558d672fcfcf33452b0

Functions
Getter at block 23055520
DOMAIN_SEPARATOR(view returns (bytes32)
0x5194f8a5f2c76ca40d74f80e571844c901500b4115a0f0a7d78506755bd3455d
blockTimestampLast(view returns (uint256)
1721867523
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=887948537599687972861296, reserve1Cumulative=53250462960428, blockTimestamp=1732900387)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x3cb83e8d1cfcbf1084dd7ded8537d222b5758f35, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=4098624469, _reserve1=1, _blockTimestampLast=1721867523)
index0(view returns (uint256)
2114288720754158755441
index1(view returns (uint256)
2973731343
lastObservation(view returns (struct IPoolObservation)
(1721865811, 887913408147654423984688, 53248398330492)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000, r0=4098624469, r1=1, st=true, t0=0x36be1d329444aef5d28df3662ec5b4f965cd93e9, t1=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
name(view returns (string)
Stable AMM - wXCH/USDC
observationLength(view returns (uint256)
24
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x99814a82c4a381f884eff2d4e7dd5efb46a4b379
reserve0(view returns (uint256)
4098624469
reserve0CumulativeLast(view returns (uint256)
887948492380121619312080
reserve1(view returns (uint256)
1
reserve1CumulativeLast(view returns (uint256)
53250451927564
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-wXCH/USDC
token0(view returns (address)
0x36be1d329444aef5d28df3662ec5b4f965cd93e9
token1(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
tokens(view returns (addressaddress)
(0x36be1d329444aef5d28df3662ec5b4f965cd93e9, 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
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