Open
Description
-
how to model the outcome of a lp withdrawal in C2 Analyse LP pool share value when add
-
virtual values (combination according to balances/weights) or
-
actual exit event?
Variants:
- lp_token_out in Dec # number of tokens received in exit event
calculate: - lp_token_value_in in USD minus slippage ( minus gas fees) = lp_token_value_out
alternatively: - lp_token_value_in in USD before lp_provision MINUS lp_token_value after the add based on lp_pool_balance in USD (using - the exact samt USD price