Caviar
  • Introduction
  • User Guides
    • Buying and Selling NFTs
    • Creating a New Shared Pool
    • Providing and Removing Liquidity for Shared and Custom Pools
    • Providing and Removing Liquidity for Pure-NFT Pools
    • Changing your NFTs in Pure-NFT Pools
    • Wrapping and Unwrapping NFTs
    • Impermanent Loss
  • Concepts
    • Shared pools
      • Swaps
      • Liquidity
      • Fractionalization
    • Custom pools
      • Swaps
      • Liquidity
      • Change
  • Technical Reference
    • Contract addresses
    • Shared pools
      • High level overview
      • Smart contract API
        • Caviar.sol
        • Pair.sol
        • StolenNftFilterOracle.sol
        • CaviarEthRoyaltyRouter.sol
      • Desirability Classifier
      • How to make a buy programatically
      • How to make a sell programatically
    • Custom pools
      • High level overview
      • Smart contract API
        • EthRouter
        • Factory
        • PrivatePool
        • PrivatePoolMetadata
        • IStolenNftOracle
  • Resources
    • Partners
    • NFT Collection Partnerships
    • Audits
    • Research
    • Where does the yield come from?
Powered by GitBook
On this page
  1. User Guides

Impermanent Loss

As Caviar utilizes the AMM model, liquidity providers supply equal amounts of NFTs and ETH to earn yield. The AMM will automatically adjust the price in the pool of your assets each time a buy or sell occurs. Impermanent loss (IL) occurs when you provide liquidity to a liquidity pool and the price of the assets changes compared to when you deposited them. The less volatile the deposited assets are, the less IL there will be. Note that these “losses” are impermanent, meaning they aren’t realized until you withdraw your liquidity position. If the prices of the assets deposited move back to the initial deposit values, your IL would be 0. Let's say you deposit 1 ETH and 1 ETH worth of NFTs and the value of the NFT rises in ETH terms. Your liquidity pool position reduces its NFTs in favor of ETH as people buy NFTs from the pool. For example, as a result of this volatility, your position may have 0.7 NFTs and 1.3 ETH in the end.

Let's say you deposit 1 ETH and 1 ETH worth of NFTs and the value of the deposited NFTs drop. Your liquidity pool position increases in NFTs and decreases in ETH as people sell their NFTs into the pool in exchange for ETH. For example, as a result of this volatility, your position may have 1.3 NFTs and 0.7 ETH in the end.

Note that your position is generating 1% of fees collected on each trade that passes through the pool. The more users that trade, the more yield you capture. This yield auto-compounds back into your position until you withdraw.

If the fees of your position generates > IL, congrats you are profitable!

If the fees of your position generates < IL, unfortunately you are not profitable.

PreviousWrapping and Unwrapping NFTsNextShared pools

Last updated 1 year ago