Adding Liquidity

Depositing a pair with equal value

Depositors of liquidity to the Flype pools are required to deposit a token pair consisting of an LP token and ETH. Both tokens should have an equal value, when denominated in US dollars based on Oracle prices.

Getting Flype Liquidity Provider Tokens (FLYP-LP Tokens)

Liquidity tokens are minted to record the relative proportion of total reserve that should be attributed to each liquidity provider according to their contribution. These tokens can be burned at any time to return a proportional share of liquidity to the provider. When a new liquidity provider deposits tokens into an existing pool, the number of liquidity tokens minted is computed based on the existing quantity of tokens [3]:

However, if it is the first pool deposit, Xstarting = 0, then this formula will not work. In that case, Flype mints shares equal to the geometric mean of the amounts deposited, as follows:

This formula ensures that the value of a liquidity pool share at any time remains unaffected by the ratio at which liquidity was initially deposited.

For example, if a depositor’s initial deposit is 800 LP tokens and 2 ETH, they will receive

Last updated