Skip to main content

AMM V2

Cypher AMM V2 is based on the Uniswap V2 constant-product model, providing a clean, predictable, and high-performance foundation for on-chain trading. It acts as the core liquidity layer of the Cypher ecosystem — simple to use, easy to build on, and fully aligned with Ethereum-native standards.

Core Design Principles

  • Simplicity — Based on the proven constant-product invariant.
note

x * y = k

  • Single Liquidity Model — One pool type for all pairs; no stable or directional modes.

  • Flat Fees — Swap fees apply uniformly in both directions.

  • Configurable Fees — Each pool can define its own fee rate at deployment.

Configurable Fees

Cypher AMM V2 introduces per-pair fee customization, allowing each pool to specify a fee suited to its liquidity or volatility profile.

  • Fee is fixed per pair and enforced at the protocol level.
  • No difference between buy and sell directions.
  • Maintains compatibility with standard routing and DeFi infrastructure.
Example

A project may set a 0.3 % fee for an actively traded pair,
while another may deploy a 1 % pool to favor deeper, long-term liquidity.