DeFiEdge
Search…
Documentation
Strategy Manager
Liquidity provider
community and resources
📇
Shares
When you deposit liquidity in a strategy pool you get an ERC20 token representing your share of the pool. The number of shares you receive is based on the following calculation:
F: extant shares of an existing liquidity management pool,
$(x,y)$
: the current pool composition and
$(x_0,y_0)$
: the capital user wants to deploy
$(p_x,p_y)$
: the price of token0/token1 in USD
$f$
is the number of shares that will be minted, such that:
$f = F*\frac{x_0p_{x} + y_0p_{y}}{xp_{x} + yp_{y}}$
User will get
$f*(1 - \frac{p+m}{100})$