sharesthat represent their 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
deposit1being equal to zero.
deposit0units of token 0 of the Uniswap v3 pool contract being deposited.
deposit1units of token 1 of the Uniswap v3 pool contract being deposited.
toaddress of the recipient of the ERC-20 receipt tokens.
sharesrepresentation 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.
sharesin 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.
sharesunits of the ERC-20 to be burned in order to withdraw assets
toaddress of the recipient of the withdrawn assets
fromaddress from which the liquidity tokens are sent
amount0units of token 0 that will be transferred to the withdrawing LP.
amount1units of token 1 that will be transferred to the withdrawing LP.
_baseLowertick for the low end of the base position.
_baseUppertick for the high end of the base position.
_limitLowertick for the low end of the limit position.
_limitUppertick for the high end of the limit position.
feeRecipientaddress of the recipient of the share of fee income to be distributed to VISR stakers
swapQuantityoptional token swap to be conducted during the rebalance; if quantity is positive,
swapQuantitytoken 0 are swaped for token 1, if negative,
swapQuantitytoken 1 is swaped for token 0
deposit0units of token 0 and
deposit1units of token 1 in the ratio that is given by the current state of the Hypervisor's LP position.
deposit0units of token 0 the LP is attempting to deposit.
deposit1units of token 1 the LP is attempting to deposit.
trueif the assets are in the correct ratio,
falseif they are in the incorrect ratio.