Stable AMM - tBTC/cbBTC

Unverified contract

Proxy

Active on Base with 371 txns
Deployed by via 0xa498c545 at 19982394
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,270,881.1
ERC-20
Value $1,050,519.2
0xf34197a48eac84f1306cdc2681c67e2988141ebf196d867af496e74eb5a4ccc8
0x4e1684f5409aeb1bb60530b10bb764d0849bc822f6bc1b7090b89e326ad46599
0xd86b3936f62dbc6304b4161ef36109fe22d3b3a53599078e91694776821984b4
0x5f4c578580d17a05e8d4bd976f32b9d558802fd1f371557e3dc121eed2fee6e2
0x94c767facefea9a40a7eaac54f435215508a242bc333abd5e3fcf4532abe3615
0xff391944f0f8098b3ad64cc1546647ed4d2431bba68253c6ef71b1c8ccf1d9b2
0x2abefb2f4594ef683a2a3fed21c9bd4ac4e0539d8345733f49158aabf10d5369
0xea74aaf15aa58fb8f6c2b237f8d3ffffe5a04cb28b9d328f430d024c12f1a678
0xab38554ec2cce1607ee4bff189a8d6d4c9a34a67fc6a8431ecc69e2398a62bad
0x37e35b094640395a5b60e34ba7bd64510d72d19df802be548a49b7ddc39ad66a

Functions
Getter at block 22771287
DOMAIN_SEPARATOR(view returns (bytes32)
0xe233edbf5109386e004374ae1dca7784b15a2e595f936156416dddf7cfc0ca8f
blockTimestampLast(view returns (uint256)
1732330315
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=65396511358873961426546276, reserve1Cumulative=5339452528404156, blockTimestamp=1732331921)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x488d6ea6064eee9352fdcdb7bc50d98a7ff3ad4e, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=12889129946505685297, _reserve1=1063526122, _blockTimestampLast=1732330315)
index0(view returns (uint256)
365522219141719431057
index1(view returns (uint256)
35861495766
lastObservation(view returns (struct IPoolObservation)
(1732330267, 65375194029842347539625414, 5337693327227150)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=100000000, r0=12889129946505685297, r1=1063526122, st=true, t0=0x236aa50979d5f3de3bd1eeb40e81137f22ab794b, t1=0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf)
name(view returns (string)
Stable AMM - tBTC/cbBTC
observationLength(view returns (uint256)
1261
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x7b88177e545cfbb352b0620375abb08975fef182
reserve0(view returns (uint256)
12889129946505685297
reserve0CumulativeLast(view returns (uint256)
65375811416179873295959294
reserve1(view returns (uint256)
1063526122
reserve1CumulativeLast(view returns (uint256)
5337744505452224
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-tBTC/cbBTC
token0(view returns (address)
0x236aa50979d5f3de3bd1eeb40e81137f22ab794b
token1(view returns (address)
0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf
tokens(view returns (addressaddress)
(0x236aa50979d5f3de3bd1eeb40e81137f22ab794b, 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf)
totalSupply(view returns (uint256)
117614336975202
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