Smart Contract
Smart contract interface to interact with CLMM protocol
Overview
Ferra CLMM (Concentrated Liquidity Market Maker) is a next-generation automated market maker (AMM) built on the Sui blockchain. Unlike traditional constant product AMMs that distribute liquidity uniformly across the entire price curve, Ferra CLMM allows liquidity providers to concentrate their capital within specific price ranges, dramatically improving capital efficiency.
Core Modules
Architecture Overview
Factory: Responsible for creating and managing pools. It maintains a registry of all pools and ensures proper initialization.
Pool: Contains the core trading and liquidity management logic. It handles swaps, liquidity operations, and fee distribution.
Position: Manages liquidity position NFTs and their associated metadata.
Rewarder: Implements liquidity mining rewards to incentivize liquidity provision.
Tick: Manages the discrete price points and liquidity distribution across the price curve.
Last updated