PoolInspection
Functions
poolSqrtPrice
Calculates the square root price of a given Maverick V2 pool.
Parameters
Name
Type
Description
pool
IMaverickV2Pool
The Maverick V2 pool to inspect.
Returns
Name
Type
Description
sqrtPrice
uint256
The square root price of the pool.
userSubaccountBinReserves
Retrieves the reserves of a user's subaccount for a specific bin.
subaccountPositionInformation
Retrieves the reserves of a token for all bins associated with it.
binLpBalances
lpBalanceForTargetReserveAmounts
maxRemoveParams
Last updated