How do you calculate Pool tokens?

Most AMM and liquidity pool uses the constant product formula which is x * y = k . This is the formula that mathematically determines what the market price of the token in the pool should be. x and y represents the respective token balance of a pairing and k is a constant that will never change.

Read more

How are LP token amounts calculated?

For example, if you contribute $10 USD worth of assets to a Balancer pool that has a total worth of $100, you would receive 10% of that pool’s LP tokens . You receive 10% of the LP tokens because you own 10% of the crypto liquidity pool. The LP tokens become your claim to your share of the pool’s assets.

Read more