Stable AMM - USDC/suUSD

Unverified contract

Proxy

Active on Base with 774 txns
Deployed by via 0x3c5da519 at 10058571
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $41,485.2
ERC-20
Value $27,752.96
ERC-20
Value $0.1
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x16ee31c745b35d14c075ce3d633a301d860a1559f8e1e48ba39d0899b9826922
0x8b6488508be96a2add9bfdc14d193c2451fc812ef2e9aaa677f914949d351d24
0x2e0143772b03184ee3afffc63a909152fdbf0d043ac409b83dd2551486c5733f
0xebbbe8f6b8feeff9e4dbbe039299cb73f0a4399f1ee748da68356a434567c12f
0x6be5c1c0f20d007e5d73e36580ebccad4af839f5767530f5f2e9054c2e1ee3e7
0x01d3fa9ac466a5fa1ce293ad9212747994d3681448a93a5628b15693f54805e8
0xc3e31b37941dc4fdbdadf64abe242a89aecf9629dd2724a7f848c9ca194a3774
0x83ec0f3d063a9c755e3ee18e0c4f6f5d8f56840be96a6da5d2ec85a55093c9cb
0xa4a623cfebf83653aa838419fbf710bf5d5294d60dc4ae27f280e4613f88e62f
0xff33c28cf3b53d05021e2de233d77650cace5c2bb4d756f3eb98c8c73e1b5d07

Functions
Getter at block 22737566
DOMAIN_SEPARATOR(view returns (bytes32)
0x19a5d67d9e97a9ca429f59050b04d70877e7265c564c8d0dc3e7c04c94e4ca6e
blockTimestampLast(view returns (uint256)
1732262793
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=3759611067957487318, reserve1Cumulative=4706278488449590770665031950926, blockTimestamp=1732264479)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x97e6ff909f30d034f1dc9721e2939cea57116d95, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=27752955741, _reserve1=42668872694042085371158, _blockTimestampLast=1732262793)
index0(view returns (uint256)
1976470256215
index1(view returns (uint256)
2082364013136932288175361
lastObservation(view returns (struct IPoolObservation)
(1732262743, 3759562888845748542, 4706204415266793547861269839388)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000, dec1=1000000000000000000, r0=27752955741, r1=42668872694042085371158, st=true, t0=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, t1=0x8bf591eae535f93a242d5a954d3cde648b48a5a8)
name(view returns (string)
Stable AMM - USDC/suUSD
observationLength(view returns (uint256)
2275
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xa14c18623e3ee3b3552ce9958c7a5e5f33bb83c9
reserve0(view returns (uint256)
27752955741
reserve0CumulativeLast(view returns (uint256)
3759564276474107992
reserve1(view returns (uint256)
42668872694042085371158
reserve1CumulativeLast(view returns (uint256)
4706206548730228615709096178538
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-USDC/suUSD
token0(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
token1(view returns (address)
0x8bf591eae535f93a242d5a954d3cde648b48a5a8
tokens(view returns (addressaddress)
(0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, 0x8bf591eae535f93a242d5a954d3cde648b48a5a8)
totalSupply(view returns (uint256)
235349835783744
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