Skip to main content

AMM V4

Cypher integrates Algebra Integral v1.2, delivering a faster, more modular experience for traders and LPs.
This upgrade improves capital efficiency, lowers gas use, and enables deeper customization through its plugin system.

Technical reference

Key Highlights

  • Modular Core Design — Core liquidity separated from fees/oracles for safe upgrades.
  • Concentrated Liquidity — LPs target price ranges for higher efficiency.
  • Gas Optimizations — Rewritten contracts for cheaper swaps.
  • Plugin System (Hooks) — Add dynamic logic – fees, incentives, mechanics – without touching the core.
  • Rebase Support — Rebased tokens auto-distributed to LPs.
  • Multi-Pool Pairs — Each pair can host multiple pool configs.

Plugin Overview

Plugins are lightweight "extensions" that add new behaviors to pools.

Adaptive Fee — Adjusts fees by 24 h volatility.
Sliding Fee — Dynamic per-swap fee based on price direction.
Volatility & TWAP Oracle — Stores price points & averages.
Security Module — Can pause pools in emergencies.

Custom Pools

Algebra Integral supports multiple pools per pair.

  • Default Pools: protocol-provided, shown by default.
  • Custom Pools: user-deployed for special strategies (with own fees & plugins).

Each pool can have unique parameters and reward logic, enabling specialized on-chain markets.

Plugin Fee Alignment

Custom pool deployers can set a plugin fee to earn a portion of swap fees — rewarding innovation and aligning builder incentives.