Let's Read about Liquidity Pools.
They are a VERY IMPORTANT component in Web3 / DeFi.
๐ช๐ต๐ฎ๐ ๐ฎ๐ฟ๐ฒ ๐๐ถ๐พ๐๐ถ๐ฑ๐ถ๐๐ ๐ฃ๐ผ๐ผ๐น๐?
How do they function?
What is their utility?
A Thread ๐งต
๐๐๐
A Liquidity pool is a pair of tokens pulled together proportionally in a smart contract.
They are used to provide liquidity for Decentralised Exchanges (DEXes).
1/n
๐ข๐๐
When we look at Stock Exchange or Centralised crypto exchanges like Robinhood and FTX; they operate on the order book model (ODM).
An order is placed to buy a stock or crypto at certain price and the transaction is successful if someone is willing to sell at that price.
1. The buyers trybto buy as low as possible.
2. The sellers try to sell as high as possible.
But in a situation where the buyers and sellers do not agree on a price, what happens? This is where the Market Makers come in.
3/n
Market Makers (MM)
The Market Makers are the middle ground for buyers and sellers. They are always ready to buy and sell. They provide liquidity for the Market.
In DeFi; OBM and Market Makers can't operate effectively.
4/n
๐ช๐ต๐ ๐ข๐๐ ๐ฎ๐ป๐ฑ ๐ ๐ฎ๐ฟ๐ธ๐ฒ๐ ๐ ๐ฎ๐ธ๐ฒ๐ฟ๐ ๐ฐ๐ฎ๐ป'๐ ๐๐ผ๐ฟ๐ธ ๐ถ๐ป ๐๐ฒ๐๐ถ
- It's slow and expensive.
- Each interaction has a gas fee.
- Market Makers would lose money.
A Liquidity Pools is used with an Automated Market Maker being it's important component.
5/n
How Liquidity Pools Work
- Equal proportions of the tokens are locked in.
E.g. $50 worth of DAI and $50 worth of #ETH
- The Automated Market Maker (AMM) allows the tokens to be traded in and out of the liquidity pool whilst still keeping it equal in proportion.
6/n
For example: Buying ETH with DAI increases the supply of DAI whilst making it cheaper and ETH becomes more expensive, Vice versa..
-#Liquidity pools can hold assets as much as $2 million dollars so a trade of $2000 for example won't affect the prices very much.
7/n
- DEXs also help in trading assets between different Liquidity Pools. For example ETH can be trade with SDL by connecting ETH/DAI pool to SDL/DAI pool. This process is called ROUTING
8/n
๐๐ฑ๐๐ฎ๐ป๐๐ฎ๐ด๐ฒ๐ ๐ผ๐ณ ๐๐ถ๐พ๐๐ถ๐ฑ๐ถ๐๐ ๐ฃ๐ผ๐ผ๐น๐
-Simplifies DEX trading by performing transactions at real-time market prices.
-Allows people to provide liquidity and receive rewards (Liquidity Mining).
-Uses publicly viewable smart contracts making it secure.
9/n
๐ฃ๐ผ๐ฝ๐๐น๐ฎ๐ฟ ๐น๐ถ๐พ๐๐ถ๐ฑ๐ถ๐๐ ๐ฝ๐ผ๐ผ๐น ๐ฝ๐ฟ๐ผ๐๐ถ๐ฑ๐ฒ๐ฟ๐
Uniswap
Curve
Balancer
๐
Recap โคต๏ธ
0: Let's read about Liquidity Pools
1: Liquidity Pools (Definition)
2: Order Book Model (OBM)
3: OBM cont'd
4: Market Makers (MM)
5: Why OBM and Market Makers can't work in DeFi
6-8: How Liquidity Pools Work
9: Advantages of Liquidity Pools.
10:Liquidity Pools ProvidersI
If you found this thread helpful, hit the like and retweet button on the first tweet!
Check out last weeks thread on Stable coins๐๐๐
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.
