π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
(x0β,y0β): the capital user wants to deploy
(pxβ,pyβ): the price of token0/token1 in USD
f is the number of shares that will be minted, such that:
f=Fβxpxβ+ypyβx0βpxβ+y0βpyββ
User will get
fβ(1β100p+mβ)
Last updated