Stable AMM - DAI/MAI

Verified contract

Proxy

Active on Base with 225 txns
Deployed by via 0xcecc82a8 at 3340108
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $11,925.85
ERC-20
Value $9,725.96
ERC-20
Value $0
0xf7bae0e3ee935270da73a236bbf5a0531609f3a799aca0ff85d658f8b600e151
0xd079f20fce8846bb19f16a3dae560bdf2d042983e0bb76a3984a9a027c156de3
0x6da061ae7d310c781fdc073bc88a498c22994543f55ea898d6082241ce600242
0x679acd40c8c3573b540f508ff5a28b8a6c1af285b8c193566b4f72ac55047d27
0xc4485ad02cfbf87a63a7e61269ed5489aee57e5d2af326b173bf5c29d3661335
0x7ed8ec2b6de4b858ff79b6465cca5fb339088f91376faf8f83173e1295509aa2
0x7dc4fe63e90c44074e1b960bfb7c6de9a89aecf855871f55d8e0866959983fdf
0x4119c03b2475aff4abc85374e17349715a72e50e043c18351567581de3742795
0x1a55987a6be260f0d1ef6b4f148e3fa16e0f6b805d291077a0149467620f8428
0x653144edcf65dc7ee98071a09146801ef3ba555acb0a50891117b896fd7b3469

Functions
Getter at block 21783005
DOMAIN_SEPARATOR(view returns (bytes32)
0x645a28cec34beb3a8ff8eb06dad195815e7d41020acf52051108e7ca0234c699
blockTimestampLast(view returns (uint256)
1730355197
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=45659619747401206064566177334, reserve1Cumulative=40583177120615330462734581954, blockTimestamp=1730355357)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x30a30f266e1173a75985997b2523ecbc19c60ff3, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=9731471263587546647937, _reserve1=11966961369178371741954, _blockTimestampLast=1730355197)
index0(view returns (uint256)
16861731352184990
index1(view returns (uint256)
16891451309494869
lastObservation(view returns (struct IPoolObservation)
(1730355197, 45658062711999032057102507414, 40581262406796261923255869314)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=9731471263587546647937, r1=11966961369178371741954, st=true, t0=0x50c5725949a6f0c72e6c4a641f24049a917db0cb, t1=0xbf1aea8670d2528e08334083616dd9c5f3b087ae)
name(view returns (string)
Stable AMM - DAI/MAI
observationLength(view returns (uint256)
1350
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x29be5e85245559a49df13a5e4484d9157182bad7
reserve0(view returns (uint256)
9731471263587546647937
reserve0CumulativeLast(view returns (uint256)
45658062711999032057102507414
reserve1(view returns (uint256)
11966961369178371741954
reserve1CumulativeLast(view returns (uint256)
40581262406796261923255869314
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-DAI/MAI
token0(view returns (address)
0x50c5725949a6f0c72e6c4a641f24049a917db0cb
token1(view returns (address)
0xbf1aea8670d2528e08334083616dd9c5f3b087ae
tokens(view returns (addressaddress)
(0x50c5725949a6f0c72e6c4a641f24049a917db0cb, 0xbf1aea8670d2528e08334083616dd9c5f3b087ae)
totalSupply(view returns (uint256)
10833225924853183571366
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