Stable AMM - BRETT/TOSHI

Unverified contract

Proxy

Active on Base with 6 txns
Deployed by via 0xc9ef9ecd at 12882184
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $0.27
ERC-20
Value $0.04
ERC-20
Value $0.01
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0x7be568f2527398f9bd70e0b74a923a767b433cf1c229483fe4cc2321ec976e0b
0x742d6a538217c5247f7191211a17042e83b65d71b122536bcaf0fb46a61d7f5d
0xd638d0c52c560302fab1cc9fa3cc7c86d27177f13c50dd1a6af849b702069e9c
0xf9a9aafe6871de60a74666204fe9f098798bafddd7a324b493c53d25afe1f624
0x0996cf659274af87e92cdd7328c9ce39c6619f7debb980b200a1c4164f446900
0x5393253d168c1d3edd5dad063d4773f70d8c963be59264c8240e5b0ad6dd06ba

Functions
Getter at block 21775912
DOMAIN_SEPARATOR(view returns (bytes32)
0xf68c1fb553b8332ca6ce8e316520f6aa7375d4d743b10e94b3b382c3b20db53c
blockTimestampLast(view returns (uint256)
1713322105
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=3086288067406823193751676240, reserve1Cumulative=1334059625351217178547347802678, blockTimestamp=1730341171)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x40a748574eab2e3b9e57b794c3e5ef97bc150b03, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=12, _reserve1=5561, _blockTimestampLast=1713322105)
index0(view returns (uint256)
12332465653383
index1(view returns (uint256)
4039599549765626
lastObservation(view returns (struct IPoolObservation)
(1713320405, 3071744898520520446013482208, 1327259126954517230683071026672)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=12, r1=5561, st=true, t0=0x532f27101965dd16442e59d40670faf5ebb142e4, t1=0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4)
name(view returns (string)
Stable AMM - BRETT/TOSHI
observationLength(view returns (uint256)
106
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xfcfb80e6fe17fc2e1086dae61cef23c0fccc4375
reserve0(view returns (uint256)
12
reserve0CumulativeLast(view returns (uint256)
3086288067406823193547447448
reserve1(view returns (uint256)
5561
reserve1CumulativeLast(view returns (uint256)
1334059625351217178452704776652
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-BRETT/TOSHI
token0(view returns (address)
0x532f27101965dd16442e59d40670faf5ebb142e4
token1(view returns (address)
0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4
tokens(view returns (addressaddress)
(0x532f27101965dd16442e59d40670faf5ebb142e4, 0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4)
totalSupply(view returns (uint256)
1000
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