Stable AMM - STAR/USDbC

Unverified contract

Proxy

Active on Base with 531 txns
Deployed by via 0x9de6def5 at 3432812
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $21.24
ERC-20
Value $15.15
ERC-20
Value $0.05
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xb7274cfc676f76c1f1ec7bb49b135e9d7b29d63365f86e494733b6c6ab21c96d
0x9432c760e793d3d3a1079d7194760ac817050cb62a3132d7d6c10fca5bbf6cff
0x0100bf89d7e71ca26a682d58ab6222d15086f1ff1339aed0a4671a37d7bfc8e6
0x3958505b2af1501a7fffcb2c541fd5bc416b70ed979b3894892392c70c86228e
0x1711e09d629b7aa67ce19d36ff39e5e10a8e37441c70b75baf00f10779378657
0x4326f7511b37ddfa8a2b874068da15db16131d4acd4b41c11a8a2e01b8825951
0xfe0ab8a1d2cfe41c44897a196b2a2e6f1486319be7bd18d0511d943b17454927
0x496bc2d3fad3b756eca7d21ce0d6fb35bcc8067bd8001d7142566f4988c30848
0x7e84ea714f754bdf59dccd79dbc24128b0f2d87e89f891e108fa6ba1e73afc2a
0xffcae5dd6f772a54d6d8e5e1e03f80dc29624b2e61db167b1d7eccf7abbdae99

Functions
Getter at block 22932221
DOMAIN_SEPARATOR(view returns (bytes32)
0xea54d3f852de2a7e1776c4fd0e5a90e7bceefe8773b7b7df7ec6fed3b7dea287
blockTimestampLast(view returns (uint256)
1732621297
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=1053273955451412701022513496988, reserve1Cumulative=1136027282597802640, blockTimestamp=1732653789)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x7a823ff83d2a87ae7570a9934b0dc8b87be9c14a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=21153332351017627492, _reserve1=15255535, _blockTimestampLast=1732621297)
index0(view returns (uint256)
12172384681833642522517
index1(view returns (uint256)
12239241498
lastObservation(view returns (struct IPoolObservation)
(1732621297, 1053273268137337951757761026924, 1136026786914959420)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000, r0=21153332351017627492, r1=15255535, st=true, t0=0xc19669a405067927865b40ea045a2baabbbe57f5, t1=0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca)
name(view returns (string)
Stable AMM - STAR/USDbC
observationLength(view returns (uint256)
1091
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xd76e71fb15cb7270be0b1f907e93444ce36d8f97
reserve0(view returns (uint256)
21153332351017627492
reserve0CumulativeLast(view returns (uint256)
1053273268137337951757761026924
reserve1(view returns (uint256)
15255535
reserve1CumulativeLast(view returns (uint256)
1136026786914959420
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-STAR/USDbC
token0(view returns (address)
0xc19669a405067927865b40ea045a2baabbbe57f5
token1(view returns (address)
0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca
tokens(view returns (addressaddress)
(0xc19669a405067927865b40ea045a2baabbbe57f5, 0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca)
totalSupply(view returns (uint256)
18201026096547
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