Returns amount of liquidity tokens that are going to be minted when adding liquidity.
Calculates the price of assets. Accepts and returns decimal values.
Converts amountDeposited to amountReceived. Ignores fee calculations.
Generated using TypeDoc
An implementation of a math behind constant product pools.