Stable AMM - USDC/rgUSD

Unverified contract

Proxy

Active on Base with 232 txns
Deployed by via 0xe44564fe at 13766597
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $41.88
ERC-20
Value $33.11
ERC-20
Value $0.12
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x82649d7e42097ef8b1309dc28cd9e998eb48a021a1f3ce0897f83c413cfad70b
0x1d1efe982802c0f1feb9a1b8334d8a789451280625990d24a5b6bef0196bf4c9
0xae0524bcb8d9db4676dfcbb31de6dff5c92977942b0c0226ed4124b92a85394d
0xaebe8f6c14c4c546ac1831c251eb2fbea83ef711762ba01fc033ce7d2f0bd23e
0x0440f97709dc5ac6f362284ae5671c56e6a817a993ea6c690274bc1f38cdbd07
0xafc93b26d119ed44edea3f3b94d772270579acd298fcdc25bd351ea33c1e6610
0x56c0ba5bd499ad0175b00581d9da05d2d87df7f677d1befe503d00992a8c9538
0xeda08e15952636c275ba4344231069a4d873a1d5141e99daed4e9e96b3d60b5d
0x1a9f6748320f5c01cd89041dd1a4a125057150457b1d5a93304f8f727cc95bb8
0x508eeb630a1906a64497508b82e1cb43d203ab9558f425d0b1833cb17f165219

Functions
Getter at block 22731018
DOMAIN_SEPARATOR(view returns (bytes32)
0x16d24b6f720d63dc505a07add162ac64b43c42583429f4938273329ec80ace91
blockTimestampLast(view returns (uint256)
1732128531
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=3073105555261193102, reserve1Cumulative=3774277510303856723604596242354, blockTimestamp=1732251383)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0xf8cce695b387424122d59ae2d01fa8ce359cfb00, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=33131700, _reserve1=42137137847826205909, _blockTimestampLast=1732128531)
index0(view returns (uint256)
26642002052
index1(view returns (uint256)
11938244983384521748090
lastObservation(view returns (struct IPoolObservation)
(1732128531, 3073101484965584702, 3774272333672197842459547909886)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000, dec1=1000000000000000000, r0=33131700, r1=42137137847826205909, st=true, t0=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, t1=0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470)
name(view returns (string)
Stable AMM - USDC/rgUSD
observationLength(view returns (uint256)
1989
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xc54d8f7cf6f73a4736f99135c10df4c77d7ea9f1
reserve0(view returns (uint256)
33131700
reserve0CumulativeLast(view returns (uint256)
3073101484965584702
reserve1(view returns (uint256)
42137137847826205909
reserve1CumulativeLast(view returns (uint256)
3774272333672197842459547909886
stable(view returns (bool)
true
symbol(view returns (string)
sAMM-USDC/rgUSD
token0(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
token1(view returns (address)
0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470
tokens(view returns (addressaddress)
(0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, 0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470)
totalSupply(view returns (uint256)
37612930840711
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