ArrakisV2Helper

Helper contract for querying common information about ArrakisV2 vaults

Constant/Immutable Properties

External Functions

totalUnderlying

inspect the total amount of token0 and token1 underlying all the ArrakisV2 vault shares in circulation. The total underlying always includes any token0/token1 that is:

  1. Tokens sitting idle in the vault contract

  2. Tokens invested as liquidity in UniswapV3 positions

  3. Uncollected fees from any UniswapV3 positions

parameters :

returns :

totalUnderlyingWithFees

Same as totalUnderlying with additional return values fee0 and fee1 which denote the portion of total underlying that comes from current uncollected fees.

parameters :

returns :

totalUnderlyingWithFeesAndLeftover

Same as totalUnderlyingWithFees with additional return values leftover0 and leftover1 which denote the portion of total underlying which is sitting idle in vault contract balance.

parameters :

returns :

totalLiquidity

abc

parameters :

returns :

token0AndToken1ByRange

returns breakdown of token holdings by liquidity position

parameters :

returns :

token0AndToken1PlusFeesByRange

returns breakdown of token holdings by liquidity position, and uncollected fees by liquidity position

parameters :

returns :

Last updated