Stable AMM - USDC/YFX

Unverified contract

Proxy

Active on Base with 8 txns
Deployed by via 0xf0448614 at 16552160
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $4,623.72
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xe460c2af17fb11162bfcbf0c0d9c46bf0a7908391be5dce586fcc950661c7e57
0xed4723c9ac174024db437788c387ec694097a3115414384331dcf38d1c998ab9
0xde8daacb837be65d5a338fcdcde1b9e7d620df12e87feb16e20bd1e9d05e3262
0x1b33d75a70257d043599af60feed4ac9cf796b8fae9f78fee3d4f5b5b05d277d
0xa761b3263c87deab21849683cbb0a2cdb74f410313286a1e903e95b2d85890f9
0xba5d51789310144a20113a5b88f0b30656cda1b3ee3fe20b2f4663c2f84a909a
0xb1ae2612bef7f67bc03a9ee5fa031780f0d6b1e91f67f28f1a8ecb68cf4682e3
0x2064ba4a3257e17e88627099fb2131b90cdd7808ad793486d7e59ba7e83453cc

Functions
Getter at block 22924267
DOMAIN_SEPARATOR(view returns (bytes32)
0x5878fab88b4428a8fc67d59472d995e451f27ff7e2005e50eb2dc02f777a61f8
blockTimestampLast(view returns (uint256)
1732547727
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=209787492057764118, reserve1Cumulative=236499129526347846582094218608, blockTimestamp=1732637881)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x6751bd3d92b2be3cbac7c0c4dbce474b196de251, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=4619098139, _reserve1=4324122969786185157254, _blockTimestampLast=1732547727)
index0(view returns (uint256)
88785197554
index1(view returns (uint256)
129747577966694774644187
lastObservation(view returns (struct IPoolObservation)
(1732547727, 209371061884140712, 236109292544129742845427141492)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000, dec1=1000000000000000000, r0=4619098139, r1=4324122969786185157254, st=true, t0=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, t1=0x8901cb2e82cc95c01e42206f8d1f417fe53e7af0)
name(view returns (string)
Stable AMM - USDC/YFX
observationLength(view returns (uint256)
860
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xe74ae5f1901088244206f4088e0f2334ac04a7cf
reserve0(view returns (uint256)
4619098139
reserve0CumulativeLast(view returns (uint256)
209371061884140712
reserve1(view returns (uint256)
4324122969786185157254
reserve1CumulativeLast(view returns (uint256)
236109292544129742845427141492
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-USDC/YFX
token0(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
token1(view returns (address)
0x8901cb2e82cc95c01e42206f8d1f417fe53e7af0
tokens(view returns (addressaddress)
(0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, 0x8901cb2e82cc95c01e42206f8d1f417fe53e7af0)
totalSupply(view returns (uint256)
52602954145380
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