Function calcLPPrice
Parameters
- r0: bigint
pool supply of asset 0
- r1: bigint
pool supply of asset 1
- p0: bigint
price of asset 0
- p1: bigint
price of asset 1
- lts: bigint
circulating supply of liquidity token
Returns bigint
bigint LP price
- r0: bigint
pool supply of asset 0
pool supply of asset 1
price of asset 0
price of asset 1
circulating supply of liquidity token
bigint LP price
Calculates the LP price