Stable AMM - USR/USDC

Unverified contract

Proxy

Active on Base with 89 txns
Deployed by via 0xfa61aaed at 23194759
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,694,938.18
ERC-20
--
0x5030eb0786c88e16432e0dd7d0540be0ccf07b9a6392a5196796b1b5f0ac0617
0xe27962b133dba77e863c1b639cb8e48c81a2ab31c52722cd4d5eba29601ff699
0x46c4eb2b91f4b8ffe5a999f1152fb5910238b848f10ab7c9bc5534fa4b7feb75
0x5f678d975a515930a772afd5758055b79cb6e49fc77050a34f592b30708e420e
0x283388bec29f9161d1b002feba8336de1500b79424ca04fcca1a02f28b2cdf42
0xbfd31b92431cc7b776eabad67b4488b07d3412aacbc387c1f2c5d1b2085a1809
0x879c12199303a06bd56ed57467f2fa64d2da3403140070a7862ccc08c32355be
0x3a08844f075b9b9a3fcc7dd3f1ed7e06d2a8ab9029ff9c333ebb7e4bae37f9a0
0xb0ddde33e87a123842b8f5390e0eaf5dfa7d24367a5ecf29cb1090bdb1fddb8e
0x773cfc5777e59f3f59a4b224616b96218d5428c3d2b4f16cde117928c6b6f567

Functions
Getter at block 23954148
DOMAIN_SEPARATOR(view returns (bytes32)
0x68573fed085b0bb728ff3de1cc9fe51381a24c2c5ca549ea24c4c3ca9702ad10
blockTimestampLast(view returns (uint256)
1734697255
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=459248475847494819948299986356, reserve1Cumulative=510193059643944522, blockTimestamp=1734697643)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xd3ee0a3b349237d68517df30bfb66be971f46ad9, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=1376883746983998415733083, _reserve1=1691555072385, _blockTimestampLast=1734697255)
index0(view returns (uint256)
319402437226618223753
index1(view returns (uint256)
371526534
lastObservation(view returns (struct IPoolObservation)
(1734697019, 458389712456142468067530649848, 509137643108566626)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000, r0=1376883746983998415733083, r1=1691555072385, st=true, t0=0x35e5db674d8e93a03d814fa0ada70731efe8a4b9, t1=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
name(view returns (string)
Stable AMM - USR/USDC
observationLength(view returns (uint256)
124
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x6d173c295f281fd4f9c87701dd47508cf8f997fa
reserve0(view returns (uint256)
1376883746983998415733083
reserve0CumulativeLast(view returns (uint256)
458714244953665028562995550152
reserve1(view returns (uint256)
1691555072385
reserve1CumulativeLast(view returns (uint256)
509536736275859142
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-USR/USDC
token0(view returns (address)
0x35e5db674d8e93a03d814fa0ada70731efe8a4b9
token1(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
tokens(view returns (addressaddress)
(0x35e5db674d8e93a03d814fa0ada70731efe8a4b9, 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913)
totalSupply(view returns (uint256)
1534176986065190758
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