API Reference
API Reference
Base Implementations
- Base - Core hook base implementations and building blocks
BaseAsyncSwap- Base implementation for async swapsBaseCustomAccounting- Base implementation for hook-owned liquidityBaseCustomCurve- Base implementation for custom curvesBaseHook- Base hook implementation with security and permission helpers
 
Fee Management
- Fee - Fee utilities and dynamic fee implementations
BaseDynamicAfterFee- Dynamic target hook fees applied after swapsBaseDynamicFee- Dynamic fee application via PoolManagerBaseOverrideFee- Automatic dynamic fees applied before swaps
 
General Purpose Hooks
- General - Ready-to-use hooks for common use cases
AntiSandwichHook- Sandwich-resistant AMM implementationLimitOrderHook- Limit order mechanism for poolsLiquidityPenaltyHook- Just-in-time liquidity protection
 
Interfaces
- Interfaces - Standard interfaces and contract definitions
IHookEvents- Standard hook events interface
 
Utilities
- Utils - General utilities and helper libraries
CurrencySettler- Library for settling PoolManager deltas