Price of the token
The price of the tokens in Invariant is determined by the ratio of both tokens in the liquidity pool. This ratio is given by the following formula, where:
- is liquidity,
- is the unit of the token,
- is the unit of the token.
The formula fot the price of the token is given as follow:
Each point on a curve can be parameterized using the variable in the following way:
More about it, you can learn from our whitepaper