Stable AMM - WELS/PEGG

Unverified contract

Proxy

Active on Base with 4 txns
Deployed by via 0x11404847 at 21904528
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.38
ERC-20
Value $0.42
0x1d65e040523756a3bf7add04a6b388c9c8414a916cc6b073c64fd040e076e359
0x987c1315f1de44309a43e3a03d7c1107824fd5d99b49c898e21bc8c3cee458b8
0x2097bc335fa7e79820d3669b6dac51c728f4476c715e9a6f6c1623948752891d
0x1fca4d4f998b0767b32e3f14e88722c36ffc5e83bd843c54181c4b35583b63fb

Functions
Getter at block 22761643
DOMAIN_SEPARATOR(view returns (bytes32)
0xa4375ece031c35dfa670fd2097d2246734840dd9fe0bb3f89e714f464fb44998
blockTimestampLast(view returns (uint256)
1732240203
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=912636987514649069926354764, reserve1Cumulative=4533536176971447716782378, blockTimestamp=1732312633)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x744a8afa0ea9d8f4df74054448989cb5fb294712, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=87211362410324455039, _reserve1=247996989827866709, _blockTimestampLast=1732240203)
index0(view returns (uint256)
2105551924445960
index1(view returns (uint256)
479537940635
lastObservation(view returns (struct IPoolObservation)
(1732240203, 906320268535269269647879994, 4515573754998215331049508)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=87211362410324455039, r1=247996989827866709, st=true, t0=0x7f62ac1e974d65fab4a81821ca6af659a5f46298, t1=0x82b0e1a2374ea0198f62a48b14ffab53db6c1e36)
name(view returns (string)
Stable AMM - WELS/PEGG
observationLength(view returns (uint256)
11
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x25a050dc69e5f35986a838b4a3ffc3012aabbf34
reserve0(view returns (uint256)
87211362410324455039
reserve0CumulativeLast(view returns (uint256)
906320268535269269647879994
reserve1(view returns (uint256)
247996989827866709
reserve1CumulativeLast(view returns (uint256)
4515573754998215331049508
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-WELS/PEGG
token0(view returns (address)
0x7f62ac1e974d65fab4a81821ca6af659a5f46298
token1(view returns (address)
0x82b0e1a2374ea0198f62a48b14ffab53db6c1e36
tokens(view returns (addressaddress)
(0x7f62ac1e974d65fab4a81821ca6af659a5f46298, 0x82b0e1a2374ea0198f62a48b14ffab53db6c1e36)
totalSupply(view returns (uint256)
16934983763813264739
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