shares
that represents the proportion of the assets that are in the Hypervisor contract. Note that we allow in some Hypervisors single-sided deposits, thus there is a possibility of either deposit0
or deposit1
being equal to zero.deposit0
units of token 0 of the Uniswap v3 pool contract being deposited.deposit1
units of token 1 of the Uniswap v3 pool contract being deposited.to
address of the recipient of the ERC-20 receipt tokens.shares
representation of the share of the pool that the LP will receive. The deposited assets are aggregated into token 1 value according to the current pool price.shares
in order to withdraw their share of liquidity from the Hypervisor. The assets are transferred to the withdrawing LP according to the proportion in which they are held in our LP position. Thus, even if you deposited single-sided assets, you are likely to receive both tokens of the Uniswap v3 pool, unless our position is fully in one asset. This is unlikely as Gamma's active management strategies generally seek to keep a good balance of both assets to minimize Impermanent Loss.shares
units of the ERC-20 to be burned in order to withdraw assetsto
address of the recipient of the withdrawn assets from
address from which the liquidity tokens are sentamount0
units of token 0 that will be transferred to the withdrawing LP.amount1
units of token 1 that will be transferred to the withdrawing LP._baseLower
tick for the low end of the base position._baseUpper
tick for the high end of the base position._limitLower
tick for the low end of the limit position._limitUpper
tick for the high end of the limit position.feeRecipient
address of the recipient of the share of fee income to be distributed to VISR stakersswapQuantity
optional token swap to be conducted during the rebalance; if quantity is positive, swapQuantity
token 0 are swaped for token 1, if negative, swapQuantity
token 1 is swaped for token 0deposit0
units of token 0 and deposit1
units of token 1 in the ratio that is given by the current state of the Hypervisor's LP position.deposit0
units of token 0 the LP is attempting to deposit.deposit1
units of token 1 the LP is attempting to deposit.bool
Return true
if the assets are in the correct ratio, false
if they are in the incorrect ratio.