Stable AMM - WETH/WELS

Unverified contract

Proxy

Active on Base with 616 txns
Deployed by via 0xa3777943 at 10887274
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $20.98
ERC-20
Value $7.14
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x48a2cd83229b682e0bddffc2b213ed931e127ed7a330b17e7833aaff9777f563
0xf0f706fc6c923be4e0594b77241ee5979a86f2dc0e5b92391254d090047f8fa5
0x23507a74a4f4b7ab281110e3d9afabd1aaceb225d1a1d996c66f82022985b893
0x0d17dc187528420c12e36449ceeb56f7de9bf744f817f6307a5754dab3ce14ca
0xb6eb7cd691cf6dc816303b63995f65137f2202bee51217648568ae72d1f57d97
0x9fd2a986ed8456877431c7d182844b6395317aeef6dd8b3beb6d907c1750839c
0x68f9bc0b29ea85390ea5dfdd5d32b8b01db2079b8d758d1e55add402d2852140
0x3c7437bbec5ed9ef18b22fa0b72659dc629a9da6524db07c0cc01ea78c831eb7
0x40c9abbe9bc399651a37e1b560771934374d3a3c6fe110bfb402e75d6541224b
0x0b2258df5771748d185fe3d1ebe837b011a8103de0cce557e96fc65643ce5bac

Functions
Getter at block 22932204
DOMAIN_SEPARATOR(view returns (bytes32)
0x42f3cb7313a79bd13f7872c00c6861010955d93e89d9e439b4d9b8cb4c839abd
blockTimestampLast(view returns (uint256)
1732456109
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=445123245308535178584878, reserve1Cumulative=29036115900707398984973592326, blockTimestamp=1732653755)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x4f1be501f6487e670df880a894a1f08e1bba5870, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=2174577599512767, _reserve1=1389516309923736955820, _blockTimestampLast=1732456109)
index0(view returns (uint256)
413353977678456
index1(view returns (uint256)
17211651447994692014
lastObservation(view returns (struct IPoolObservation)
(1732456109, 444693448744301878238396, 28761483560116212070603592606)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=2174577599512767, r1=1389516309923736955820, st=true, t0=0x4200000000000000000000000000000000000006, t1=0x7f62ac1e974d65fab4a81821ca6af659a5f46298)
name(view returns (string)
Stable AMM - WETH/WELS
observationLength(view returns (uint256)
2262
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xf718dbb74c7dba221aaae320b2abef3a8914c180
reserve0(view returns (uint256)
2174577599512767
reserve0CumulativeLast(view returns (uint256)
444693448744301878238396
reserve1(view returns (uint256)
1389516309923736955820
reserve1CumulativeLast(view returns (uint256)
28761483560116212070603592606
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-WETH/WELS
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0x7f62ac1e974d65fab4a81821ca6af659a5f46298
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0x7f62ac1e974d65fab4a81821ca6af659a5f46298)
totalSupply(view returns (uint256)
15921653064069672146
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