Stable AMM - DAI/USDC

Unverified contract

Proxy

Active on Base with 1,236 txns
Deployed by via 0x3c9af0af at 3753324
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $34,242.46
ERC-20
Value $32,550.83
ERC-20
Value $0.1
ERC-20
Value $0.06
ERC-20
Value $0.05
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0x58accd19d419a56aa963c6db20c173e140478c465dfb9e98010deaafeb84849f
0xebb9aaad5f33f59eaca340d369caa06a4856a13d65b576f849b9eeea6ebf0ac9
0xb4de5a62270be0f4d3b1f458496df0835844f4af573f7bfd4834f0f1283cc84f
0xfc051ec85545ca5e0dccf354e64eadad2e783a67ab27e124560eee4d7370fb1d
0x9a8650c7d2193c78d334a19c330c027000a022354d94b8833dde8b6d36be1ee6
0x2be8ac5e48361cf661742b3468562929981c8cae7a6368b1827421bf892e11b4
0x5344f58043204066deb4bfa584edab6cf2a84d4942cac3076e6d8822c32fd067
0x7263c7746d288ce93c2afc6a8f825f7d930a7e31bc895eb71f9dc0aad8b03f80
0x123e290c351868e29c171432d00fe2888550fb9ffc5ead401e9833e902706a6f
0x9b83bc599c9413c5b6d3fa2cadb71a8781eb172d8c5d13fd9b0b172e05c757ff

Functions
Getter at block 22755754
DOMAIN_SEPARATOR(view returns (bytes32)
0xde5948e2e1c7beac9580aaa1eb506a8711f4047f8d0105b07bb7b3b57f7e65a8
blockTimestampLast(view returns (uint256)
1732299241
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=3521694631490732643977164716470, reserve1Cumulative=3317381475768827032, blockTimestamp=1732300855)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x67b00b46fa4f4f24c03855c5c8013c0b938b3eec, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=32557923468460184793745, _reserve1=34242457119, _blockTimestampLast=1732299241)
index0(view returns (uint256)
53682058517572277527726
index1(view returns (uint256)
53678014489
lastObservation(view returns (struct IPoolObservation)
(1732297805, 3521593335236454520908030022648, 3317279030899635082)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000, r0=32557923468460184793745, r1=34242457119, st=true, t0=0x50c5725949a6f0c72e6c4a641f24049a917db0cb, t1=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
name(view returns (string)
Stable AMM - DAI/USDC
observationLength(view returns (uint256)
12382
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x7f6c57094ac6b9ec0a7b301698a02a4408539423
reserve0(view returns (uint256)
32557923468460184793745
reserve0CumulativeLast(view returns (uint256)
3521642083002254549238907612040
reserve1(view returns (uint256)
34242457119
reserve1CumulativeLast(view returns (uint256)
3317326208443036966
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-DAI/USDC
token0(view returns (address)
0x50c5725949a6f0c72e6c4a641f24049a917db0cb
token1(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
tokens(view returns (addressaddress)
(0x50c5725949a6f0c72e6c4a641f24049a917db0cb, 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
totalSupply(view returns (uint256)
33396422120005328
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