Stable AMM - DEGEN/PEGG

Unverified contract

Proxy

Active on Base with 3 txns
Deployed by via 0xeb350218 at 22417033
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.6
ERC-20
Value $0.5
0x8eb04a82b37eee07ca6fe4320793942792ff6480e1d6ca0a7f577e76d42b7ef5
0x35859b75da4b15f77c6b18bc4dc36a336eed1eb9b0a6d432fe1b7bb4338fcad3
0xf01075c32de56ec400d0749d1574573f063de81194711e4bdc2590cab5666dde

Functions
Getter at block 22756087
DOMAIN_SEPARATOR(view returns (bytes32)
0x80837bd9dd8397f66a01be42c9bb318f8fcf20645e7b3f0d87072524188cdf5e
blockTimestampLast(view returns (uint256)
1732239285
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=298541471693692013554443214, reserve1Cumulative=1761192069972637714459326, blockTimestamp=1732301521)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x1d714b15c82a2162b7f7e5fcfe32bfe0e971b4eb, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=83332176883603468557, _reserve1=276235640274335416, _blockTimestampLast=1732239285)
index0(view returns (uint256)
2280378266596909
index1(view returns (uint256)
6193748332932
lastObservation(view returns (struct IPoolObservation)
(1732239285, 293355210333164068085329762, 1744000268664524175509150)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=83332176883603468557, r1=276235640274335416, st=true, t0=0x4ed4e862860bed51a9570b96d89af5e1b0efefed, t1=0x82b0e1a2374ea0198f62a48b14ffab53db6c1e36)
name(view returns (string)
Stable AMM - DEGEN/PEGG
observationLength(view returns (uint256)
15
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x7e07a9f4a09b2c5de4101432ade57e76b76758cc
reserve0(view returns (uint256)
83332176883603468557
reserve0CumulativeLast(view returns (uint256)
293355210333164068085329762
reserve1(view returns (uint256)
276235640274335416
reserve1CumulativeLast(view returns (uint256)
1744000268664524175509150
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-DEGEN/PEGG
token0(view returns (address)
0x4ed4e862860bed51a9570b96d89af5e1b0efefed
token1(view returns (address)
0x82b0e1a2374ea0198f62a48b14ffab53db6c1e36
tokens(view returns (addressaddress)
(0x4ed4e862860bed51a9570b96d89af5e1b0efefed, 0x82b0e1a2374ea0198f62a48b14ffab53db6c1e36)
totalSupply(view returns (uint256)
16814082235833460458
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