Skip to main content
BEX pools contain the logic and math for swapping tokens and for liquidity operations. There are several types of pools, each with its own unique characteristics and use cases.

Pool types

Pool differences

Pool math

  • Weighted pools use constant product formulas (similar to Uniswap V2) and allow for custom weight distributions between tokens
  • Stable pools use specialized stable swap curves optimized for tokens that should trade near parity

Key parameters

  • Weighted pools are configured primarily through token weights (e.g., 80/20, 50/25/25)
  • Stable pools use an amplification coefficient to determine how tightly the prices should be bound together

Use cases

  • Weighted pools: Best for uncorrelated assets where price divergence is expected (e.g., HONEY/WETH)
  • Stable pools: Ideal for correlated assets like:
    • Stablecoins (USDC/USDT/DAI)
    • Wrapped/underlying tokens (iBERA/BERA)