Stable AMM - WETH/DAI

Unverified contract

Proxy

Active on Base with 386 txns
Deployed by via 0x3112d7cb at 5482376
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $984.37
ERC-20
Value $328.24
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xf0915c38c56def106025c6b64c1aaaad6cb713af539c08d0cf3a3170ffdfd2c6
0xec9ef508678cb3eb69420b18c446f83c52cb1e6175c57473502c50a3f22e690f
0xe28cfd1cc990cfa815ba5c6221facb4c7b084fe50242d849516ed29a7693cb50
0x55e2ac69105eb5a4eb646b7340480a745f492e352f7b41a424258643381ada68
0x8ff9d8ac2937500084d453914679f2d3ad70fcbf1bd83fdde319203fe012282f
0x235c6c80661e1767a5746496a727efe8d84713babec477c7c41f3bc1ea909d35
0x126008308ad590bb8884a09ba43bdd55387029e06de2bfe6c2c811260408d21c
0xab337c97045a8793d4779058ce3324a6b34e7b545fa86003278fcfef7e6c003f
0xc50c4972a6ee5083b5b31a673924ba39c1f335f1dd2ff056144d66c41864e5a1
0x905e6c599bec5100181861e8442fa0f8447208482e23d28e1f7210d203bff9dd

Functions
Getter at block 22012589
DOMAIN_SEPARATOR(view returns (bytes32)
0x3d3b1d020a5938bea8207a9623286987a8687b315ec416aa0cf47c44323f6184
blockTimestampLast(view returns (uint256)
1730811481
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=2009201413059235869378334, reserve1Cumulative=17884097250749250132937558716, blockTimestamp=1730814525)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xc078e01b31a3db4af0ed218c028c32bcefc00a40, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=134397475218055564, _reserve1=984371514291143570089, _blockTimestampLast=1730811481)
index0(view returns (uint256)
49830040709638
index1(view returns (uint256)
140820281143822322
lastObservation(view returns (struct IPoolObservation)
(1730811481, 2008792307144672108241518, 17881100823859747891910207800)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=134397475218055564, r1=984371514291143570089, st=true, t0=0x4200000000000000000000000000000000000006, t1=0x50c5725949a6f0c72e6c4a641f24049a917db0cb)
name(view returns (string)
Stable AMM - WETH/DAI
observationLength(view returns (uint256)
6506
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x4b9c1a56703c8259b697d1e6c89bae42e5c92b3b
reserve0(view returns (uint256)
134397475218055564
reserve0CumulativeLast(view returns (uint256)
2008792307144672108241518
reserve1(view returns (uint256)
984371514291143570089
reserve1CumulativeLast(view returns (uint256)
17881100823859747891910207800
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-WETH/DAI
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0x50c5725949a6f0c72e6c4a641f24049a917db0cb
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0x50c5725949a6f0c72e6c4a641f24049a917db0cb)
totalSupply(view returns (uint256)
51965631298290429825
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