Volatile AMM - WETH/BRATE

Unverified contract

Proxy

Active on Base with 93 txns
Deployed by via 0xbedf3c3a at 4524345
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $0
ERC-20
Value $0
0xadcdc0567342305422da52c7694c054deb96ed90a8bf6767b0646b8bf2d84fbb
0xc5329c86eb87d7c588865a309e3b71932e6fe37496ef0e4b6a8edccc0cb8f4ca
0x246acbd1704abec2a53eeca171808ba7436ef4740ab1904cb99975d3d33c90b2
0xac71822de70f09eecc0e972f70b1953f4804a47fb51ca1de038a5818b41f7de2
0x0923e6b9e3f13970c7490e1285d71181de38cf17fecc913bd7318025dca1b493
0x102d1865b5358af5c06f10cd5ebf6c4f0a189b4879cb7da36fafb12b8b33ca79
0xe21de6e313f18abc070d87fe3f56fc703207f9a2d44621ba405a589aa71c08f0
0x9eb7a74c668888ee9910354e354e8a2f062e89945eb31c1f0b67907d37ad641b
0xd43889832841eb3ee74a06e093c14934b368c1266950d5d197585cd46ee22d3b
0x6e51c4337c5b01a4a1f4cda8a23a2da9b2e17b793181cc165731de10a984b201

Functions
Getter at block 23598844
DOMAIN_SEPARATOR(view returns (bytes32)
0x32e75368462950da8386c08090b9620c2a937db0546ea397c82119f20b2c222a
blockTimestampLast(view returns (uint256)
1696705419
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=16107315505966959343984, reserve1Cumulative=8460451118053584726208, blockTimestamp=1733987035)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x9d998e865b5cfb0332799d27f3852dee0a0d92a5, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=667092682, _reserve1=631173974, _blockTimestampLast=1696705419)
index0(view returns (uint256)
1326000019885208980214032960962
index1(view returns (uint256)
8319992069152462595480956724
lastObservation(view returns (struct IPoolObservation)
(1696705273, 16072902045767164389504, 8428047124138895734068)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=667092682, r1=631173974, st=false, t0=0x4200000000000000000000000000000000000006, t1=0xd260115030b9fb6849da169a01ed80b6496d1e99)
name(view returns (string)
Volatile AMM - WETH/BRATE
observationLength(view returns (uint256)
53
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x13087e985f6de14e47b818d15e1224ff5ae1e1d0
reserve0(view returns (uint256)
667092682
reserve0CumulativeLast(view returns (uint256)
16107290635673752609872
reserve1(view returns (uint256)
631173974
reserve1CumulativeLast(view returns (uint256)
8460427586867856864224
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-WETH/BRATE
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0xd260115030b9fb6849da169a01ed80b6496d1e99
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0xd260115030b9fb6849da169a01ed80b6496d1e99)
totalSupply(view returns (uint256)
1000
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