MagicSea Docs (v1.0)
  • Welcome
    • 🐙What is MagicSea?
    • 👋I'm New Here
    • 📺QuickStart Guide
    • 📖DeFi Glossary
    • 🌐Ecosystem
    • 🆘Support
  • Protocol
    • 🔒Wallets
    • ⛓️Multichain
    • 💱Exchange
      • ▶️Swap
        • 📺How to Swap your Tokens
      • ▶️Bridge
    • 🌊Liquidity Pools
      • ▶️Simple V2 Pools
        • 📺How to Provide Liquidity in V2 Pools
      • ▶️Concentrated LB Pools
        • Liquidity Book Strategies
        • Liquidity Book Learning
        • Dynamic Fee System
    • 💰Earn
      • ▶️Farms V2
        • 📺How to Earn Farm V2 Rewards
      • ▶️Market Maker LB Rewards
      • ▶️Staking Pools
    • 🎇Magic
      • ▶️Booster
        • 📺How to Boost your LUM to Magic LUM
      • ▶️Magic LUM Staking
      • ▶️Magic LUM Voting
    • 🖼️NFT Marketplace
      • ▶️Lumis
    • 🚀Fairlaunch
  • Tokenomics
    • 🪙Token Economics
    • 🪸LUM Token
    • 🌺Magic LUM Token
  • General Information
    • 🔗Official Links
    • 💼Business Proposals
    • 📄Smart Contracts
    • 🛡️Audits
    • 📖Disclosure
Powered by GitBook
On this page
  1. Protocol
  2. Liquidity Pools

Concentrated LB Pools

PreviousHow to Provide Liquidity in V2 PoolsNextLiquidity Book Strategies

Last updated 11 months ago

The Liquidity Book feature allows to concentrate liquidity into single bins, which leads to more efficient and flexible liquidity provisioning and seamless trading experiences with zero slippage and low fees.

With the Liquidity Book (LB), liquidity providers can provide liquidity within a specified price range of their choice - this is called concentrated liquidity. Using the USDC/USDT pair as an example, if an LP chooses to provide liquidity between $0.99 and $1.01 then the LP will earn trading fees so long price is within that range.

Bins

To allow concentrated liquidity, the price curve is discretized into bins, which is similar to the tick concept in Uniswap V3. The main difference however, is that LB uses the constant sum price formula instead of the constant product formula.

What this means is that each bin represents a single price point and the difference between two consecutive bins is the bin step.

Take for example USDC/USDT again. If the current price is $1 and the bin step is 1 basis point (i.e. 0.0001 or 0.01%), then the next consecutive bins up are 1∗1.0001=$1.0001, 1.0001∗1.0001=$1.00020001 etc. Note that this is the geometric sequence.

In addition to using a different pricing invariant, bin steps are not restricted to 1 basis point and is a parameter set by the pool creator. Because of this, there can be multiple markets of the same pair but varying only in their bin step.

The Liquidity Book concept provides high flexibility about how users can provide their liquidity. If you are interested in learning more about it, check out the next chapter "Liquidity Strategies".

Keep in mind that providing liquidity could be subject to impermanent loss and it may carry certain risks. Make sure you are aware of all the pros and cons of providing liquidity into a concentrated liquidity pool before taking any actions. You can learn more about impermanent loss by clicking.

🌊
▶️
here
​