Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

doc.gno

0.50 Kb · 11 lines
 1// package v1 implements GnoSwap's concentrated liquidity pools based on Uniswap V3.
 2// It manages liquidity positions, executes swaps, and maintains pool state including
 3// price, liquidity, and fee calculations.
 4//
 5// The pool contract is the core of the GnoSwap AMM, supporting:
 6// - Concentrated liquidity within custom price ranges
 7// - Multiple fee tiers (0.01%, 0.05%, 0.3%, 1%)
 8// - Single-tick and cross-tick swaps
 9// - Protocol fee collection
10// - Tick bitmap optimization for gas efficiency
11package pool