Stable AMM - WETH/AAG

Unverified contract

Proxy

Active on Base with 5,508 txns
Deployed by via 0x1b9335ad at 8855013
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $66.3
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0xa53bd689cd3bed3806ebd609f00a3e02c2da3166be4d39c94e6b384514871172
0x41a1986488938d12323283b32ea2314a793af56588b471412844f2d1e9bac866
0xad4a209ae585b5bdf8f2ec30d6ff0037ccb0ca2a09f4ec3d61171ce535b96f61
0xcd4832d36587885a965b61444abec4c731b663cb9f7c888989fedb3d11532fed
0xc03bb732cd1f8d308a0faab90616a3ad84d6ab2df2d92aad602038c806cf68bb
0xe02e655bfdf34ff100c90b2df93279d766cb0f8160f5782991048f5ebb7dd34b
0x8f051913cbecd9a8905868aaf219c689d23112305f442c7808080f65f1ff4370
0x8fb1c3294b9d57424fb206c7ff66a56990de8d1cadcfe90e4208fc37ae128092
0x942e4b46e221a3d69d37e2d876d0fe040bb5d47de0a47225e295744129a0f8a9
0x0c443daace0946ebe8efb346b8f374899973ac1515971831484645148691e382

Functions
Getter at block 22763734
DOMAIN_SEPARATOR(view returns (bytes32)
0xa4cbe78b7cfa90bcffb48becd93a1a79ebe2934d13f0a9908a96573524f7758c
blockTimestampLast(view returns (uint256)
1732290707
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=699718682826762974788524, reserve1Cumulative=1085542522615710270775795361410, blockTimestamp=1732316815)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xefe0fdd5ba270f5a684639174b2b582e769fcf5a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=19974699691402946, _reserve1=48242700367435929451907, _blockTimestampLast=1732290707)
index0(view returns (uint256)
36343079172116
index1(view returns (uint256)
59398433203032026783
lastObservation(view returns (struct IPoolObservation)
(1732290707, 699197183367219826674356, 1084283002194517253529664973454)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=19974699691402946, r1=48242700367435929451907, st=true, t0=0x4200000000000000000000000000000000000006, t1=0x96e890c6b2501a69cad5dba402bfb871a2a2874c)
name(view returns (string)
Stable AMM - WETH/AAG
observationLength(view returns (uint256)
2798
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x74ff7cac75b7ae3965771847a4ef9f053db2f65d
reserve0(view returns (uint256)
19974699691402946
reserve0CumulativeLast(view returns (uint256)
699197183367219826674356
reserve1(view returns (uint256)
48242700367435929451907
reserve1CumulativeLast(view returns (uint256)
1084283002194517253529664973454
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-WETH/AAG
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0x96e890c6b2501a69cad5dba402bfb871a2a2874c
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0x96e890c6b2501a69cad5dba402bfb871a2a2874c)
totalSupply(view returns (uint256)
76172667368238755941
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