Holdr Protocol Overview
  • Protocol Overview
  • Developer Docs
  • Product
    • Overview
    • The Vault
    • Pools
      • Weighted Pools
      • Composable Stable Pools
      • Liquidity Bootstrapping Pools (LBPs)
    • Smart Order Router
  • Concepts
    • Math
      • Weighted Math
      • Stable Math
    • Fees
  • Ecosystem
    • Governance
    • veHLDR and Gauges
      • veHLDR
        • How veHLDR Works
        • How To Use veHLDR
        • How veHLDR Boosting Works
          • Working Supply
          • Calculating My Boost
          • Minimum veHLDR for Max Boost
      • Gauges
        • How Gauges Work
  • Developers
    • Deployment Addresses
  • Getting Started
    • FAQs
      • Swapping
      • Liquidity
      • Liquidity Mining with the veHLDR and Gauge System
      • Fees
      • The Vault
      • Pools and LBPs
Powered by GitBook
On this page
  • Overview
  • Ideal For
  • Stable Swaps Under the Holdr Umbrella
  • What Does Composable Mean?
  • Pre-minting
  • Predecessors
  1. Product
  2. Pools

Composable Stable Pools

PreviousWeighted PoolsNextLiquidity Bootstrapping Pools (LBPs)

Last updated 2 years ago

Overview

Composable Stable Pools are designed for assets that are either expected to consistently trade at near parity, or at a known exchange rate. Composable Stable Pools use (based on StableSwap, popularized by Curve) which allows for trades of significant size before encountering substantial price impact, vastly increasing capital efficiency for like-kind and correlated-kind swaps.

Ideal For

  • Pegged Tokens - tokens that trade near 1:1, such as two stablecoins of the same currency (eg: DAI, USDC, USDT), or synthetic assets (eg: renBTC, sBTC, WBTC)

  • Correlated Tokens - tokens that trade near 1:RRR with some slowly changing exchange rate RRR, like derivatives (eg: wstETH, wETH)

Stable Swaps Under the Holdr Umbrella

One of the key advantages to having Composable Stable Pools on Holdr specifically is that they are plugged into the same protocol as all other pools. Swapping between stablecoins is frequently used for arbitrage when one token is paired with two different stablecoins in different pools. By leveraging Batch Swaps on Holdr, these trades can be combined into a single, gas-efficient transaction.

What Does Composable Mean?

A pool is composable when it allows swaps to and from its own LP token. Putting its LP token into other pools (or "nesting") allows easy Batch Swaps from nested pool tokens to tokens in the outer pool.

Example

With ComposableStablePool[DAI, USDC, USDT], we can directly pair the LP token, or BPT, against WETH in a WeightedPool[WETH, CSP-BPT]. This nesting allows us to consolidate liquidity into some of the most common groupings, which results in deeper liquidity and better prices throughout Holdr. In this example, it also saves you the trouble of making 3 WeightedPools [WETH, DAI], [WETH, USDC], [WETH, USDT].

Pre-minting

These pools mint an effectively infinite amount of their LP tokens at the time of pool creation. This help reduce gas costs because instead of using the mint/burn mechanism to join a pool, it uses a transfer on a join/exit, which is more efficient.

Predecessors

Composable Stable Pools are a superset of all previous Stable-type pools (Stable Pools, MetaStable Pools, StablePhantom Pools, and StablePool v2) and therefore obsolete all previous pools.

Stable Math