Stable AMM - DAI/MAI

Verified contract

Proxy

Active on Base with 244 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 $20,690.83
ERC-20
Value $16,189.25
ERC-20
Value $0
0xf7629ce626a4e766c3589145795c1d2271d54b1c7e48d9402f9535cb3e22a891
0xa24f23ab8404c04d86fb6b579c54f50fd8e0139a4033a1b6916df8f52a82f3d0
0xcdc5d77cbd0d57548dfb11eedf788022d8416364e6aa5b41615e634ecc481961
0x06e82e1c97eff02c500a38a80b984da789de5d879abc18eb968b770639599610
0xec09afed7305bac2372763e2658e400e2ff404a7f5f505c4ddd249517467baa0
0xfa2fb69a6d6f12de3c73ac9e9d3885f7b50a977a04e120f1a933affd3c25d6e2
0x3c699efc525cb0928e74e533d4378d77e670b2e2711711dd68172a37e67bc09c
0xa60c5e8b4e25b98804eeaa8cfe9fd6c8d8a5952bfce416f1ed52d2bfd3979f08
0xb17b900de3d732e048afd6800b94fd52ce88b95525bb155b17f4c9e8d3405944
0x61f94553bab09813faf819bbb36059fb7c19e2a38b6b953ba89a32214f680370

Functions
Getter at block 22753078
DOMAIN_SEPARATOR(view returns (bytes32)
0x645a28cec34beb3a8ff8eb06dad195815e7d41020acf52051108e7ca0234c699
blockTimestampLast(view returns (uint256)
1732295355
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=74174446466708890215968651564, reserve1Cumulative=70168644817124355453665601046, blockTimestamp=1732295503)
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=16173076120189124238752, _reserve1=20742980036205480061475, _blockTimestampLast=1732295355)
index0(view returns (uint256)
23522671809453165
index1(view returns (uint256)
23565413517355351
lastObservation(view returns (struct IPoolObservation)
(1732295355, 74172052851443102225581316268, 70165574856078997042616502746)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=16173076120189124238752, r1=20742980036205480061475, st=true, t0=0x50c5725949a6f0c72e6c4a641f24049a917db0cb, t1=0xbf1aea8670d2528e08334083616dd9c5f3b087ae)
name(view returns (string)
Stable AMM - DAI/MAI
observationLength(view returns (uint256)
1887
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x29be5e85245559a49df13a5e4484d9157182bad7
reserve0(view returns (uint256)
16173076120189124238752
reserve0CumulativeLast(view returns (uint256)
74172052851443102225581316268
reserve1(view returns (uint256)
20742980036205480061475
reserve1CumulativeLast(view returns (uint256)
70165574856078997042616502746
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)
18430259913146998970001
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