Liquidity Pool (DeFi Liquidity Pool)

Why Trust Techopedia

What is a Liquidity Pool?

A liquidity pool is a smart contract that contains a reserve of two or more cryptocurrency tokens and is used to facilitate the exchange of cryptocurrencies on decentralized exchanges (DEX). The innovation of liquidity pools has laid the foundation for the decentralized finance (DeFi) industry.

Advertisements

Liquidity pools incentivize crypto holders to deposit their tokens in return for a part of trading fees. To participate, users need to hold their tokens in a cryptocurrency wallet. Typically, they deposit an equal dollar value of two tokens into a liquidity pool.

What is a Liquidity Pool?

Key Takeaways

  • A liquidity pool is a crowd-sourced deposit of crypto tokens that facilitates the exchange of cryptocurrencies on a DEX.
  • Liquidity pools incentivized crypto holders to deposit their tokens in return for a part of a trading fee.
  • Equal dollar value of two tokens is typically deposited into a liquidity pool.
  • Liquidity providers are exposed to impermanent losses.
  • Single-sided pools, two-token pools, multi-asset pools, and concentrated liquidity pools are different types of liquidity pools.

History of Liquidity Pools

In the early phases of DeFi, decentralized exchanges used traditional banking order books to match buyers with sellers.

This approach was problematic for several reasons:

  • The order books required significant computing power to match buyers with sellers, and the process was slow.
  • High gas fees made it difficult for smaller traders to participate in the market.
  • Traditional order books are vulnerable to front-running. Users with faster connections could see and execute trades before users with slower connections.

In 2017, Bancor Network’s co-founders figured out a way to counteract these issues by executing trades against the liquidity of a pool of crowdsourced assets. This single change is credited with being responsible for DeFi’s rapid growth.

How Do Liquidity Pools Work?

DeFi liquidity pools enable cryptocurrency buyers and sellers to trade tokens on a DEX without needing a centralized order book or traditional market maker. Instead, the smart contract that controls the pool handles all the trading activity.

Automated market maker (AMM) algorithms in the contract determine the price of each token and adjust prices in real time depending on supply and demand. This ensures that the supply of each token in a pool is always in proportion to the other tokens in the pool.

If you are wondering how to participate in liquidity pools, you can simply add an equal dollar value of two tokens to the liquidity pool of your choice on any DEX. You will receive a share of the exchange’s trading fees. The value of trading fees earned is proportional to the amount of liquidity provided.

How Liquidity Pools Work

Liquidity Pool Tokens

Liquidity pool tokens (LPTs) are digital assets that investors receive when they deposit crypto assets into a liquidity pool. LPTs can be considered a receipt representing the investor’s share of the pool.

LPT ownership entitles the investor to a share of the transaction fees generated by the pool’s activity and any other potential rewards offered by the DeFi platform.

Investors can withdraw their liquidity from the pool at any time and redeem their LPTs in exchange for the original assets they deposited (along with any accrued fees or rewards).

Depending on the platform, LPTs may also be called pool tokens (PTs) or simply LPs.

What Can You Do With a Liquidity Pool Token?

Many investors simply hold on to their liquidity pool tokens to generate passive income. As users trade within the pool, they pay transaction fees, a portion of which is distributed to liquidity providers. Payment is proportionally based on the investor’s stake in the pool.

How Investors Use Liquidity Pools

How Investors Use Liquidity Pools

Many DeFi platforms offer additional rewards to liquidity providers.

Investors who have high-risk appetites can use liquidity pools to participate in the following:

Liquidity Pools Explained: Types of Liquidity Pools

Liquidity Pools Explained: Types of Liquidity Pools

Liquidity pools can be categorized into the following:

Token pair pools

These are the most common types of liquidity pools.

Liquidity providers deposit equal dollar amounts of the token pair into these pools. The pair of tokens in a pool are designed to preserve the “constant product” formula (x*y=k), which states that any trade facilitated by the pool must not change the product (k) of a pair’s reserve balances (x*y).

Multi-asset pools
These liquidity pools are made up of more than two cryptocurrencies. These pools are used to stabilize swap rates and reduce the spread for low market cap tokens and exotic cryptocurrencies.
Single-sided pools
These are liquidity pools that hold only one type of cryptocurrency. These pools reduced the complexities and risk of providing liquidity to two-token liquidity pools.
Concentrated liquidity pools
Pools where liquidity providers can concentrate their tokens to trade within a custom price range. Concentrated liquidity pools allow liquidity providers to earn more trading fees using lower capital.

The Importance of Liquidity Pools

Liquidity pools are important in blockchain borrow-lend protocols, yield farming, on-chain insurance, and gaming protocols.

Traditional finance (TradFi) has to pair a buyer with a seller before a transaction can be completed. In contrast, DeFi platforms can automatically execute a trade against the liquidity in the platform’s pool.

This is important because it means DeFi platforms don’t need to match the expected price of a transaction with the executed price. If the executed price of the trade is higher than the expected price, the buyer will receive fewer tokens than expected, and the seller will receive more tokens. This is called slippage.

To offset potential losses caused by slippage, the pool charges a small fee for each transaction and splits the fee between liquidity providers in a proportionate ratio to their share of the pool.

Liquidity Pool Use Cases

Total Value Locked

DeFi liquidity is typically expressed in terms of total value locked (TVL). TVL represents the total value of assets locked in a particular DeFi platform. Typically, this includes the amount of cryptocurrency locked in smart contracts and any other assets the platform has tokenized.

TVL is an important metric for DeFi protocols because it provides investors with an indication of a platform’s overall liquidity.

Platforms with higher TVL generally have more growth potential than those with lower TVL.

4 Key Factors to Consider When Calculating a DeFi Protocol’s TVL

Liquidity Pools Pros and Cons

Let’s now learn about the pros and cons of liquidity pools:

Pros

  • Enable decentralized trading of cryptocurrencies
  • Allow crypto holders to deposit their tokens into the liquidity pool and earn a share of the trading fees generated
  • DeFi liquidity pools are permissionless, which means that anyone can create and contribute to a liquidity pool
  • Enable cryptocurrencies to trade on a 24/7 basis
  • Permissionless liquidity pools support crypto projects by allowing their tokens to be traded in the open market
  • Concentrated liquidity pools allow liquidity providers to deploy assets across a custom price range

Cons

  • Expose liquidity providers to impermanent losses
  • Require gas fee payments for deposit and withdrawal of liquidity
  • Unsuitable for beginners
  • Smart contracts of liquidity pools are vulnerable to hacks and bugs
  • Cause wider spreads and slippages when trading exotic tokens
  • Handle large-volume trades less effectively than traditional market making

Liquidity Pools Risks

Although liquid asset pools allow users to earn a yield on crypto that would otherwise be idle, using them to build passive income also comes with risks.

  • Once assets have been added to a liquidity pool, they are controlled by a smart contract. If a malicious actor gains access to a smart contract that controls a liquidity pool, they may be able to steal all the funds in the pool.
  • If smart contract developers permit themselves to change the rules governing the pool, there is always the risk that they will manipulate the contract for their own gain by altering the fee structure, the token ratio, or other key parameters of the pool.
  • If the ratio of tokens in a liquidity pool becomes uneven due to significant price changes, the liquidity provider (LP) could face permanent as well as impermanent loss of their invested assets.

It’s essential for investors to be aware of the risks and take appropriate measures to protect their investments. This includes performing due diligence before investing in crypto liquidity pools.

Liquidity Pools Best Practices

Before investing in a DeFi pool, liquidity providers should thoroughly research the platform in question and the pool itself.

Best practices for ensuring a pool’s rules of liquidity are fair and predictable and that the liquidity providers’ interests are protected include:

  • Seeking out pools that have a high trading volume and a significant amount of liquidity
  • Checking to see whether the liquid asset pool is supported by a strong developer community and has an active user base
  • Checking the platform team’s credentials
  • Reading the team’s whitepapers and website content
  • Finding reviews from other users
  • Making sure the liquidity pool has a transparent governance structure and decision-making processes
  • Looking for evidence that the pool has undergone independent security audits

Popular Liquidity Pools

Today, many decentralized platforms use liquid asset pools to trade digital assets in an automated and permissionless way. The meaning of liquidity pools in DeFi is significant, as they provide the necessary liquidity for the ecosystem to function efficiently and reduce reliance on traditional financial intermediaries.

Popular platforms that center their operations on liquidity pools include:

Uniswap (UNI)
Uniswap is a decentralized exchange operating on the Ethereum blockchain that allows trading any ERC-20 token since new tokens are being added to Uniswap daily. Uniswap has several liquidity pools. Some of their most popular pools support ETH/USDT, ETH/DAI, and ETH/USDC exchanges.
Curve
Curve is a decentralized exchange specializing in stablecoins and providing low-slippage trading for similar assets. It has several liquidity pools. Some of their most popular pools support BTC/renBTC/wBTC/sBTC and USDT/USDC/DAI.
Balancer
Balancer is a decentralized exchange that allows users to create customized liquidity pools with up to eight tokens. Popular Balancer pools include ETH/USDC/DAI/WBTC, WBTC/renBTC/sBTC, and LINK/ETH.
SushiSwap (SUSHI)
SushiSwap is a decentralized exchange that offers liquidity pools with high-yield farming incentives for liquidity providers. Some of the most popular SushiSwap pools include ETH/USDC, ETH/USDT, and ETH/WBTC.

The Bottom Line

Liquidity pools are one of the most important innovations of decentralized finance. When Uniswap introduced its liquidity-pool-powered AMM protocol in 2018, it marked the creation of a product that embodied the core values of cryptocurrencies –  decentralization and permissionlessness.

FAQs

What is a DeFi liquidity pool?

Are liquidity pools profitable?

What is a DeFi mining pool?

How do DEX liquidity pools work?

What is an example of a liquidity pool?

Is a liquidity pool worth it?

How do you make money from a liquidity pool?

References

Advertisements

Related Questions

Related Terms

Margaret Rouse
Technology Expert
Margaret Rouse
Technology Expert

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.