Algebra Integral
HomepageSocialsIntegrate
  • Overview
    • What is Algebra?
    • Who Are These Docs For
    • Why Concentrated Liquidity & Modularity Matter
    • Partners & Ecosystem
    • Audits & Security
    • Social Media & Communities
  • Introducing Algebra Integral to Founders & Business Teams
    • Overview of Algebra Integral
      • How It Works: Core + Plugins
      • V3 vs. V4: Key Differences
      • Integral vs. Uniswap V4: Key Differences
    • Benefits of Modular Architecture
      • Perks for DEXes
      • Perks for Builders
      • Perks for Users
  • Modularity: Use Cases
  • Plugin Marketplace
  • Algebra Partner Support
  • User Guide Template For DEXes
    • Concentrated Liquidity & Modular Architecture Basics
      • Glossary
      • How Concentrated Liquidity & Modular Architecture Work
      • Benefits of Modular Concentrated Liquidity AMM for Users
        • Perks for Liquidity Providers
        • Perks for Projects
        • Perks for Traders
      • Fee Mechanics
        • Static Fee
        • Dynamic Fee
        • Sliding Fee
        • Dynamic Fee Based on Trading Volume
        • Managed Swap Fee
        • Whitelist Fee Discount
      • Farming
      • Farming FAQ
  • Price Ranges and Liquidity Strategies
    • What Are Price Ranges
    • Basic Price Range Presets
    • Advanced Range Presets
    • How Price Moves Affect Liquidity
    • Impermanent Loss: Concepts & Mitigation
    • Matching Your Liquidity Strategy to Market Moves
    • Swap & LP Strategies with Price Ranges
    • Liquidity Scenarios & Risk Profiles
  • Liquidity Provisioning: Tutorials & FAQs
    • Adding Liquidity
      • Manual Mode
      • Automated Mode
    • Managing & Adjusting Positions
    • How APR is Calculated
    • FAQ for LPs
  • Algebra Integral / Technical Reference
    • Intro
    • Audits
    • Integration Process
      • Specification and API of contracts
        • Algebra Pool
        • Algebra Factory
        • Swap Router
        • Nonfungible Position Manager
        • Quoter
        • QuoterV2
        • TickLens
      • Interaction with pools
        • Getting data from pools
      • Subgraphs and analytics
        • Examples of queries
      • Technical Guides
        • Intro
        • Swaps
          • Single swaps
          • Multihop swaps
        • Providing liquidity
          • Setting up your contract
          • Mint a new position
          • Collect fees
          • Decrease liquidity
          • Increase liquidity
          • Final Contract
        • Flashloans
          • Setting up your contract
          • Calling flash
          • Flash callback
          • Final contract
      • Migration from UniswapV3
      • FAQ
    • Core Logic
      • Pool overview
      • Swap calculation
      • Liquidity and positions
      • Ticks
        • Ticks search tree
      • Reserves
      • Flash
      • Plugins
      • AlgebraFactory and roles
    • Plugins
      • Overview
      • Farming
      • Adaptive Fee
      • Sliding Fee
      • Whitelist Discount Fee
      • Safety Switch
      • Position Limit Orders
      • Managed Swap Fee
      • FAQ
    • Guides
      • Plugin Development
      • Plugin Testing
      • Plugin Deployment
    • Changes V1
    • Changes V1.1
    • Changes v1.2
  • Changes v1.2.1
  • Other
    • Archived Documentation
Powered by GitBook
On this page
  1. User Guide Template For DEXes
  2. Concentrated Liquidity & Modular Architecture Basics
  3. Fee Mechanics

Static Fee

Note for DEX Teams:

This mechanic is a part of a Dynamic Fee Plugin. It utilizes classic Fee Tiers & Ticks combinations (in this example: 0.05%, 0.3% & 1%).

The exact Tiers & Ticks can be tuned by dex according to the needs of each pool.

An Example of User-Oriented Description

Swap Fee Distribution

Swap fees are distributed proportionally among all active liquidity positions at the time of each trade. When the market (spot) price moves outside a position’s selected range, that liquidity becomes inactive and temporarily stops earning fees. Once the price returns within range, the position becomes active again and resumes fee generation.

Fee Collection & Reinvestment

Fees earned from swaps are not auto-compounded. Instead, they accumulate separately from the main pool liquidity and must be manually claimed by the LP via their LP Token. This design provides flexibility and supports integrations with advanced liquidity management strategies.

Customizable Pool Fee Tiers

When creating a pool, user can choose from preset fee tiers when initializing a new pool, depending on the expected volatility and behavior of the token pair:

  • 0.05% fee, tick spacing 10 — Best suited for stable pairs with minimal price fluctuation.

  • 0.3% fee, tick spacing 60 — Balanced default option for most token pairs.

  • 1% fee, tick spacing 200 — Ideal for volatile assets or launch-phase tokens with high anticipated trading activity.

Note: Tick spacing defines how granular the price intervals are within a pool. For instance, a tick spacing of 60 represents a ~0.6% difference between each successive tick, which affects how precisely LPs can set their price ranges.

PreviousFee MechanicsNextDynamic Fee

Last updated 17 hours ago