Stable AMM - WETH/DAI

Unverified contract

Proxy

Active on Base with 387 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 $1,036.18
ERC-20
Value $343.83
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xcb184aef071fe1a9224c85a37b10858d20a96ec52a5b4a324a045decc365f953
0xf0915c38c56def106025c6b64c1aaaad6cb713af539c08d0cf3a3170ffdfd2c6
0xec9ef508678cb3eb69420b18c446f83c52cb1e6175c57473502c50a3f22e690f
0xe28cfd1cc990cfa815ba5c6221facb4c7b084fe50242d849516ed29a7693cb50
0x55e2ac69105eb5a4eb646b7340480a745f492e352f7b41a424258643381ada68
0x8ff9d8ac2937500084d453914679f2d3ad70fcbf1bd83fdde319203fe012282f
0x235c6c80661e1767a5746496a727efe8d84713babec477c7c41f3bc1ea909d35
0x126008308ad590bb8884a09ba43bdd55387029e06de2bfe6c2c811260408d21c
0xab337c97045a8793d4779058ce3324a6b34e7b545fa86003278fcfef7e6c003f
0xc50c4972a6ee5083b5b31a673924ba39c1f335f1dd2ff056144d66c41864e5a1

Functions
Getter at block 22928461
DOMAIN_SEPARATOR(view returns (bytes32)
0x3d3b1d020a5938bea8207a9623286987a8687b315ec416aa0cf47c44323f6184
blockTimestampLast(view returns (uint256)
1732646145
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=2210486044703910821741530, reserve1Cumulative=19773181463409336294168071822, blockTimestamp=1732646269)
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=105666124011304745, _reserve1=1043378908319692323891, _blockTimestampLast=1732646145)
index0(view returns (uint256)
51703257246951
index1(view returns (uint256)
147452372390964013
lastObservation(view returns (struct IPoolObservation)
(1732645701, 2210426226103404292670078, 19772588164687732875384213302)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=105666124011304745, r1=1043378908319692323891, st=true, t0=0x4200000000000000000000000000000000000006, t1=0x50c5725949a6f0c72e6c4a641f24049a917db0cb)
name(view returns (string)
Stable AMM - WETH/DAI
observationLength(view returns (uint256)
7050
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x4b9c1a56703c8259b697d1e6c89bae42e5c92b3b
reserve0(view returns (uint256)
105666124011304745
reserve0CumulativeLast(view returns (uint256)
2210472942104533419953150
reserve1(view returns (uint256)
1043378908319692323891
reserve1CumulativeLast(view returns (uint256)
19773052084424704652319909338
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)
51116912899207590170
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