Liquidity Pool

Brief explaination of Liquidity Pool in Boltr Platform.

Liquidity Pool is a collection of funds that were locked in Smart Contract. Liquidity pools are used to facilitate decentralized trading, lending, and many more functions in decentralize finance.

Liquidity pool and Dark Pool are two different things. Dark Pool is a private forum in finance industry where user discuss about derivatives, securities, and other financial instrument. Liquidity on these market called the Dark Pool. On the hand, Liquidity in smart contracts were called Liquidity Pool that everyone can view and trace transparently. https://www.boltrswap.com/docs

Liquidity Pool v. Order Books

Liquidity in the traditional market need a maker and taker to create order in the order book which will be place in the bid and ask column. The thickness of order in the ordering books will determine the liquidity of the asset in that market. Refer Diagram 1 below:

In liquidity pool, user have to put a liquidity of two different KRC-20 token in order to create/add liquidity to the pair of the token. Compare to the order book mechanism, liquidity pool mechanism requires a Liquidity Provider to add a liquidity of pair of token and in returns, the Liquidity Provider will receive income from fees generated on the swap made by user who swapped their token in the pool. The mathematical equation of the mechanism is as follows.

x is the token A quantity, while y is the token B quantity that makes equal to constant. The flow of the ecosystem is like in the Diagram 2 below:

Whenever liquidity were deposited into a pool, unique tokens known as Liquidity Pool Token (LP Token) are minted and sent to the provider’s address. These tokens represent a given liquidity provider’s contribution to a pool. The proportion of the pool’s liquidity provided determines the number of liquidity tokens the provider receives. If the provider is minting a new pool, the number of liquidity tokens they will receive will equal sqrt(x * y), where x and y represent the amount of each token provided. Just imagine that the LP token is the receipt token that proven your contribution in the pool. For example, when you provide a funds into any physical project, they will give you a letter of grant ownership in order to proof that you are one of the shareholders. LP Token is exact the same with that protocol.

Passive Revenue will be earn by the liquidity providers from fees that were executed during the swapping transaction made by user in the Liquidity Pool inside Boltr.

Last updated