When you enter DeFi (DeFi), you are often asked to provide liquidity. This usually means depositing a pair of assets into a liquidity pool, allowing others to trade between them. While this act of providing liquidity is the engine that powers DeFi applications, it comes with a specific, often misunderstood cost: Impermanent Loss. For newcomers, understanding this concept is crucial, as it represents the hidden friction cost of being a liquidity provider.
Imagine you lend an item to a friend, expecting to get back the same item later. If the market price of that item changes while you are waiting, you might end up with less than you expected. Impermanent Loss is that same phenomenon, but applied to assets held within an Automated Market Maker (AMM) liquidity pool.
The Mechanics of Automated Market Makers (AMMs)
To understand Impermanent Loss, we must first understand the environment where it occurs: the Automated Market Maker (AMM). Traditional finance uses order books—a list of buyers and sellers—to determine prices. AMMs, however, use smart contracts filled with pools of assets to facilitate trading automatically. The most famous AMM protocol is Uniswap, which operates on a mathematical curve to determine the price of assets within the pool.
egin{div class="definition-box">Definition: Automated Market Maker (AMM)
An AMM is a smart contract that uses liquidity pools to facilitate trading without needing a traditional order book. It relies on mathematical formulas to determine the price of assets based on the ratio of tokens currently in the pool.