Liquidity pool diagram on whiteboard

1344×768 · AVIF · CC BY 4.0

liquidity pool diagram on whiteboard in editorial style

Whiteboard diagram of a liquidity pool explains how pools work on decentralized exchanges (DEX) like Uniswap, focusing on price formation and liquidity provision.

About this subject

Liquidity pools are smart contracts that hold pairs of tokens, enabling decentralized trading without traditional order books. They are the foundation of Automated Market Makers (AMMs) like Uniswap and PancakeSwap, where pricing is determined by a constant mathematical formula, typically x * y = k for constant product AMMs.

In the diagram, two token reserves are usually represented: token A and token B. When a user provides liquidity, they deposit equivalent values of both tokens and receive liquidity provider (LP) tokens representing their share. These LP tokens can be redeemed later for the proportional part of accrued trading fees.

A key concept is impermanent loss, which occurs when the token ratio in the pool changes due to external price volatility. If an arbitrageur aligns the pool price with the market, the liquidity provider may end up with less value than if they had simply held the tokens outside the pool. Understanding this is essential for anyone considering becoming a liquidity provider.

Historically, the liquidity pool model was popularized by Uniswap in 2018, revolutionizing the DeFi space. Since then, variations have emerged, such as stablecoin pools (with different price curves) and concentrated liquidity pools like Uniswap v3, which allow greater capital efficiency. These diagrams are common educational tools in courses and workshops on decentralized finance.

Frequently Asked Questions

What is a liquidity pool in cryptocurrency?

A liquidity pool is a smart contract that locks pairs of tokens to facilitate decentralized trading. Users can provide liquidity and earn trading fees in return.

How does pricing work in a liquidity pool?

Pricing is determined by a constant mathematical formula, such as x * y = k. The price of one token relative to the other adjusts automatically based on supply and demand within the pool.

What is impermanent loss and how to avoid it?

Impermanent loss is the difference in value between holding tokens in a pool versus holding them outside, due to price changes. It cannot be completely avoided, but can be minimized by choosing low-volatility pools or using hedging strategies.

Download

Download AVIF

51 KB · 1344×768

Direct URL

https://pub-c7d6a6ea828543ac903a74a341ccb2e1.r2.dev/imagens/liquidity-pool-diagram-on-whiteboard-travel-photography-v10.avif

How to credit

Include a visible link back to UtilizAí. Copy one of the snippets below:

HTML
<a href="https://xn--utiliza-eza.com/en/midia/imagens/liquidity-pool-diagram-on-whiteboard-travel-photography-v10">Liquidity pool diagram on whiteboard</a> by <a href="https://xn--utiliza-eza.com">UtilizAí</a>, licensed under <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
Markdown
[Liquidity pool diagram on whiteboard](https://xn--utiliza-eza.com/en/midia/imagens/liquidity-pool-diagram-on-whiteboard-travel-photography-v10) by [UtilizAí](https://xn--utiliza-eza.com), CC BY 4.0

License: CC-BY-4.0

Tags

Related images