DeFi liquidity pools, explained

1
15

The simplest version of a DeFi liquidity pool holds two tokens in a smart contract to form a trading pair.

Let’s use Ether (ETH) and USD Coin (USDC) as an example, and to make it simple, the price of ETH can be equal to 1,000 USDC. Liquidity providers contribute an equal value of ETH and USDC to the pool, so someone depositing 1 ETH would have to match it with 1,000 USDC.

The liquidity in the pool means that when someone wants to trade ETH for USDC, they can do so based on the funds deposited, rather than waiting for a counterparty to come along to match their trade.

Liquidity providers are incentivized for their contribution with rewards. When they make a deposit, they receive a new token representing their stake, called a pool token. In this example, the pool token would be USDCETH.

The share of trading fees paid by users who use the pool to swap tokens is distributed automatically to all liquidity providers proportionate to their stake size. So if the trading fees for the USDC-ETH pool are 0.3% and a liquidity provider has contributed 10% of the pool, they’re entitled to 10% of 0.3% of the total value of all trades.

When a user wants to withdraw their stake in the liquidity pool, they burn their pool tokens and can withdraw their stake.



Source link

1 COMMENT

  1. Have you ever heard of second life (sl for short). It is basically a online game where you can do anything you want. Second life is literally my second life (pun intended lol). If you want to see more you can see these sl authors and blogs

LEAVE A REPLY

Please enter your comment!
Please enter your name here