Stable AMM - WELS/toby

Unverified contract

Proxy

Active on Base with 2 txns
Deployed by via 0x4908deb0 at 13433780
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $2.47
ERC-20
Value $0.89
ERC-20
--
ERC-20
--
ERC-20
--
0x80ab762dbc7b8ddb37cf51a815d0ffa10df868fd080f1f540dc5d7f1bac9b5f6
0xde63c166ad8611e871a1f171ba6f01cf690299f94aaa3cf4e84a4dfecf5338c3

Functions
Getter at block 22916623
DOMAIN_SEPARATOR(view returns (bytes32)
0xaa1627b5c0d85c519136913e3493396a0fced196927303c9fec124eddcda1b24
blockTimestampLast(view returns (uint256)
1732424631
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=417799694246500349799489110, reserve1Cumulative=1818611471847551410092529386934758, blockTimestamp=1732622593)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x2a938f5ce7872ae2073ab86919e3db38a2ab20aa, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=58066053602316924733, _reserve1=56201931697114220186207309, _blockTimestampLast=1732424631)
index0(view returns (uint256)
32141347812241
index1(view returns (uint256)
81010086842569777349
lastObservation(view returns (struct IPoolObservation)
(1732424631, 406304822143278486745494964, 1807485625044927284836027415630500)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=58066053602316924733, r1=56201931697114220186207309, st=true, t0=0x7f62ac1e974d65fab4a81821ca6af659a5f46298, t1=0xb8d98a102b0079b69ffbc760c8d857a31653e56e)
name(view returns (string)
Stable AMM - WELS/toby
observationLength(view returns (uint256)
693
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xb6d8be75ce9e21e9621b35b76d7599e1d7208a56
reserve0(view returns (uint256)
58066053602316924733
reserve0CumulativeLast(view returns (uint256)
406304822143278486745494964
reserve1(view returns (uint256)
56201931697114220186207309
reserve1CumulativeLast(view returns (uint256)
1807485625044927284836027415630500
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-WELS/toby
token0(view returns (address)
0x7f62ac1e974d65fab4a81821ca6af659a5f46298
token1(view returns (address)
0xb8d98a102b0079b69ffbc760c8d857a31653e56e
tokens(view returns (addressaddress)
(0x7f62ac1e974d65fab4a81821ca6af659a5f46298, 0xb8d98a102b0079b69ffbc760c8d857a31653e56e)
totalSupply(view returns (uint256)
5000000000000000001000
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