Liquidity pool diagram on whiteboard

1344×768 · AVIF · CC BY 4.0

liquidity pool diagram on whiteboard in editorial style

Whiteboard diagram explains how liquidity pools work, the foundation of DeFi protocols and Automated Market Makers (AMMs).

About this subject

Liquidity pools are reserves of tokens held in smart contracts on decentralized finance (DeFi) platforms. They replace the traditional order books of centralized exchanges, allowing users to trade assets directly against the pool. The whiteboard diagram likely illustrates the relationship between two tokens, such as ETH and DAI, along a constant product curve defined by a mathematical formula like x * y = k, used by Uniswap.

When a trader executes a swap, they add one token to the pool and withdraw another, altering the balance and therefore the price. Liquidity providers deposit pairs of tokens in equal value proportions and earn trading fees proportional to their share. This model is the backbone of decentralized exchanges like Uniswap, SushiSwap, and Curve Finance. In Brazil, the use of liquidity pools has grown with the popularization of DeFi, especially among investors seeking yields in stablecoins.

A technical curiosity: the first implementation of an AMM was proposed by Vitalik Buterin in 2016, but the concept gained traction with the launch of Uniswap in 2018. The whiteboard diagram may also represent the risk of impermanent loss, a phenomenon where the relative price change between the pool's tokens reduces the value of deposited assets compared to holding them outside the pool. Understanding this risk is essential for liquidity providers, especially in volatile markets.

Beyond swaps, liquidity pools are used in lending protocols, yield farming, and as collateral for synthetic assets. The diagram, with its simplicity, helps visualize how liquidity is aggregated and how prices adjust dynamically without the need for a centralized counterparty.

Frequently Asked Questions

What is a liquidity pool in cryptocurrencies?

It is a collection of tokens locked in a smart contract to enable decentralized trading. Users can swap tokens and liquidity providers earn fees.

How does the formula x * y = k work in a liquidity pool?

This constant ensures that the product of the reserves of two tokens remains the same after each trade. It keeps liquidity available and adjusts prices automatically.

What is impermanent loss and how does it affect liquidity providers?

It is the temporary loss in value due to price changes of the tokens in the pool relative to the external market. It can become permanent if prices do not return to the original level.

Download

Download AVIF

44 KB · 1344×768

Direct URL

https://pub-c7d6a6ea828543ac903a74a341ccb2e1.r2.dev/imagens/liquidity-pool-diagram-on-whiteboard-street-photography-v11.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-street-photography-v11">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-street-photography-v11) by [UtilizAí](https://xn--utiliza-eza.com), CC BY 4.0

License: CC-BY-4.0

Tags

Related images