Volatile AMM - rgUSD/hyUSD

Unverified contract

Proxy

Active on Base with 71 txns
Deployed by via 0x54e27d00 at 13766536
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.3
ERC-20
Value $4.2
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x1d91d787bbe8bbe0a69a70a8576888d48cd63d2daf4f907664a545885bb4ddac
0x1e34d237eec305be72068dbc81ec3f6d7878da074f6117ed9ba40dbff83a4dd0
0xca88c4fce9d1e22f9896f2da79ff256da40e319f6d6b7b6bc6bddec2ff9e7138
0x2c3d7a588eaa50c67b941df7f84986d4928f4e8631c0b1bf1560c75bf34faf5a
0xc03a437497f7ecf828d48f2fbb98173c98384ee3838ad6619bbe178ba7441b5f
0xfb3d7ed55443dad84ffb8c134e6b40e84c2bc1814acb5d97346a65864806ddb7
0x7d42c5088b2f939073d7fae58e46c149846b546fef7cdf37c3dc4a21a21b4194
0x468b583f74a77610a180ee1ccfd87aec1b49a8c6c058f1f3df248566b126dc38
0x7d72ef55fcf5af1a8bbab06ccc1c78546506fd25163e8df617bbdf9669c214c5
0x252b67ade69d491f1564078d1a939d59e5414c765637c1e4acc5c1138fb6200d

Functions
Getter at block 22917047
DOMAIN_SEPARATOR(view returns (bytes32)
0x5e0cc2d2f8077caacd05d113444e33252c718a048c0b284a5486fd27e7767ce1
blockTimestampLast(view returns (uint256)
1729623511
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=264033245453382848107016807750, reserve1Cumulative=253544701101188536365960201620, blockTimestamp=1732623441)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x97ead610cd4ee80a2e7151ce9de383d2012f2df8, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=4209829949216366742, _reserve1=4057641007116388635, _blockTimestampLast=1729623511)
index0(view returns (uint256)
3267898534776261
index1(view returns (uint256)
2630678751205145
lastObservation(view returns (struct IPoolObservation)
(1729623361, 264020615671524754692555652490, 253532527807104946346280396920)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=4209829949216366742, r1=4057641007116388635, st=false, t0=0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470, t1=0xcc7ff230365bd730ee4b352cc2492cedac49383e)
name(view returns (string)
Volatile AMM - rgUSD/hyUSD
observationLength(view returns (uint256)
484
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0xee0b829e851a3bc9e8ca2f06ee8809e09671e815
reserve0(view returns (uint256)
4209829949216366742
reserve0CumulativeLast(view returns (uint256)
264020616258223295451936479690
reserve1(view returns (uint256)
4057641007116388635
reserve1CumulativeLast(view returns (uint256)
253532528462202057698202406070
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-rgUSD/hyUSD
token0(view returns (address)
0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470
token1(view returns (address)
0xcc7ff230365bd730ee4b352cc2492cedac49383e
tokens(view returns (addressaddress)
(0x8e5e9df4f0ea39ae5270e79bbabfcc34203a3470, 0xcc7ff230365bd730ee4b352cc2492cedac49383e)
totalSupply(view returns (uint256)
4133022513183019890
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