Stable AMM - WETH/BRATE

Unverified contract

Proxy

Active on Base with 720 txns
Deployed by via 0x565fe129 at 4524041
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $4,975.13
ERC-20
Value $1,790.57
ERC-20
Value $0.05
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x0b084162abe11b5109a02a6fbdb1ce17af7ebb80bfa1e5a860d919c94a6ca737
0x180d34fb84fdd1cf8430b1c0b17f8147bb76aaf26fbaadca06c486dacab64645
0x3cf9f8347b3085240afde6d1e5df7102828bfc72c5a2ff1be531828cb1ca5e10
0x5b8054b525155281d56e0702ff3b2520ee3f250ce493bec3a28b26a0bf6e2da9
0x4cfb31b964c9a0d568ca91960241f1d67cc4b31aeea75056aebbea2d58afef87
0xbc78f8566245b93f52b105908d0aa11efa695f6563f8330d80af669a9fc54205
0xf7118d31feac87bbef7c3c6807d21d46f83a197806fc641d2217de36a836f9a6
0x85ee3a831ab7dcfdd5e2936a7a90cacd64b8b10863e16f7c691dfdab734d1cba
0xd5b36de9bfd0fae24fdc3a18f2f2ef450ef8bae2683b40b3178edcde1be2f5f4
0x6461de1c3957feaf00ddd14343f1b8b6042b97fe4d1a226a77b46ad1f4a0f031

Functions
Getter at block 22766309
DOMAIN_SEPARATOR(view returns (bytes32)
0x32b020c23333cde62f427368c212430099d81979e8ab1604464dee18661f94fa
blockTimestampLast(view returns (uint256)
1732279527
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=168893767783389360258260838, reserve1Cumulative=796113464772430204360619044, blockTimestamp=1732321965)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x8071175d8fe0055048b0654b10c88cad5d2d1f19, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=534844642439741781, _reserve1=9045690129876808277, _blockTimestampLast=1732279527)
index0(view returns (uint256)
11594620237850171
index1(view returns (uint256)
4615555605306627
lastObservation(view returns (struct IPoolObservation)
(1732279527, 168871070046453502496558760, 795729583774698492370959718)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=534844642439741781, r1=9045690129876808277, st=true, t0=0x4200000000000000000000000000000000000006, t1=0xd260115030b9fb6849da169a01ed80b6496d1e99)
name(view returns (string)
Stable AMM - WETH/BRATE
observationLength(view returns (uint256)
2877
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xc252c9cf2fb803ce69cc4691659396ecccf334ec
reserve0(view returns (uint256)
534844642439741781
reserve0CumulativeLast(view returns (uint256)
168871070046453502496558760
reserve1(view returns (uint256)
9045690129876808277
reserve1CumulativeLast(view returns (uint256)
795729583774698492370959718
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-WETH/BRATE
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0xd260115030b9fb6849da169a01ed80b6496d1e99
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0xd260115030b9fb6849da169a01ed80b6496d1e99)
totalSupply(view returns (uint256)
3541743434683662273
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