Shares
DE-Shares are issued based on the proportion of liquidity that a liquidity provider (LP) has deposited into a strategy.
For the first LP, the share price is fixed to $100 (this is arbitrary, it could have been any number). So, for example if a user deposits 1 WETH and $1000, when the price of 1WETh is $2500 they are issued 35
DE-shares : (1000+2500)/100 = 35 (Assuming the management fees and protocol fee are 0%)
If it is some non-zero p%, the LP receives 35(1-p/100) shares and 35p/100 shares go to the strategy manager.
- If you are the first liquidity provider in the pool
: the capital user wants to deploy
: the price of token0/token1 in USD
is the number of shares that will be minted, such that :
User will get
Shares
The share price then changes based on the value of the underlying assets and accumulated fee. So if the price of WETH goes up to $3000 and the strategy manager keeps all the liquidity in the form of WETH; the DE-shares in the strategy mentioned above would be worth $114.2857 (4000/35)
From then on shares are issued proportional to the value of assets an LP provides:
- If you are not the first liquidity provider to the pool
: extant shares of an existing liquidity management pool,
: the current pool composition and
: the capital user wants to deploy
: the price of token0/token1 in USD
is the number of shares that will be minted, such that :
User will get
Shares