Volatile AMM - WETH/GHST

Unverified contract

Proxy

Active on Base with 1,316 txns
Deployed by via 0x05817fba at 13295275
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $616,944.84
ERC-20
Value $615,285.58
ERC-20
Value $0.1
ERC-20
Value $0.1
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x84567f94fbf190653def34455f28f8edf311b5ea435d58e16bb44141d688f9da
0xa13de83fd3365cc5dcc7ef6f003407037b98de107d18b02f712c4e15e41d8262
0x6ffd4fc258e5217e8ff6432a49c9cd64515c95f7c79c9bc5012941af656c92a4
0x8a748609fa010ae104f3cdf82adc307f1619fbfffd77ff1e6d514f2c27ceb63a
0xf5f9c70c866e5bd06d00f23a4f101f04b7212f3034fb2316d9f1f1cf511c15ef
0x0440c121af77534e22d25890ec7fde4f9d573589c30392f70056ecdae66d3e95
0xa6b0c8bc629c2aa1d2138b7ea417c00df523070f4624a3e1b7e88bf0e0547a8d
0xad2abf5795d1cda8241fc36bc336ab485766a9f3bcd1c1be5eacd2a7431bd270
0x430090c901dc8520fb1ddd417c9c8683f277b1cc3febdce3bae1257b334d3f6e
0xcbe04dc90c171f1593b82f50c9bc191104c8beade55f4861bc5b3ce3b8cf2f57

Functions
Getter at block 22753800
DOMAIN_SEPARATOR(view returns (bytes32)
0x14a926c2b9674fa4ac38f9e21dd0712290e6d161c57d92d6995ea72bcc9a25af
blockTimestampLast(view returns (uint256)
1732295495
currentCumulativePrices(view returns (uint256 reserve0Cumulativeuint256 reserve1Cumulativeuint256 blockTimestamp)
(reserve0Cumulative=6577077198937374059134990062, reserve1Cumulative=18262377900693236571528434324612, blockTimestamp=1732296947)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=1, chainId=8453, verifyingContract=0x0dfb9cb66a18468850d6216fcc691aa20ad1e091, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
factory(view returns (address)
0x420dd381b31aef6683db6b902084cb0ffece40da
getReserves(view returns (uint256 _reserve0uint256 _reserve1uint256 _blockTimestampLast)
(_reserve0=185767340027205772310, _reserve1=651131177519116258307157, _blockTimestampLast=1732295495)
index0(view returns (uint256)
451740068253218
index1(view returns (uint256)
1194704341771757146
lastObservation(view returns (struct IPoolObservation)
(1732293975, 6576525150344149080097526280, 18260442556738310100381455963842)
metadata(view returns (uint256 dec0uint256 dec1uint256 r0uint256 r1bool staddress t0address t1)
(dec0=1000000000000000000, dec1=1000000000000000000, r0=185767340027205772310, r1=651131177519116258307157, st=false, t0=0x4200000000000000000000000000000000000006, t1=0xcd2f22236dd9dfe2356d7c543161d4d260fd9bcb)
name(view returns (string)
Volatile AMM - WETH/GHST
observationLength(view returns (uint256)
5240
periodSize(view returns (uint256)
1800
poolFees(view returns (address)
0x11ba1bcb5c136f1e999161602ef15f745bdb2060
reserve0(view returns (uint256)
185767340027205772310
reserve0CumulativeLast(view returns (uint256)
6576807464759654556353595942
reserve1(view returns (uint256)
651131177519116258307157
reserve1CumulativeLast(view returns (uint256)
18261432458223478814721372332648
stable(view returns (bool)
false
symbol(view returns (string)
vAMM-WETH/GHST
token0(view returns (address)
0x4200000000000000000000000000000000000006
token1(view returns (address)
0xcd2f22236dd9dfe2356d7c543161d4d260fd9bcb
tokens(view returns (addressaddress)
(0x4200000000000000000000000000000000000006, 0xcd2f22236dd9dfe2356d7c543161d4d260fd9bcb)
totalSupply(view returns (uint256)
10996619044095961826059
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