This describes a pre-release version of LBAMM. Interfaces and behavior may change.
Verify the exact repository commit before building production integrations.
Core Interfaces
Canonical LBAMM interfaces are published in the following repositories.
LBAMM Core
Repository:
https://github.com/limitbreakinc/lbamm-core
-
ILimitBreakAMM
Primary interface for LBAMM Core. Defines all external entrypoints (swaps, liquidity, flashloans, pool creation, token settings). -
ILimitBreakAMMPoolType
Interface that all custom pool types must implement. -
ILimitBreakAMMTransferHandler
Interface that all custom transfer handlers must implement. -
ILimitBreakAMMFlashloanCallback
Interface that flashloan executor contracts must implement. -
ILimitBreakAMMLiquidityHook
Interface that liquidity position hooks must implement. -
ILimitBreakAMMPoolHook
Interface that pool hooks must implement. -
ILimitBreakAMMTokenHook
Interface that token hooks must implement.
Limit Break Hooks & Transfer Handlers
Repository:
https://github.com/limitbreakinc/lbamm-hooks-and-handlers
-
ICLOBHook
Interface for order book group key hooks used for maker and taker validation. -
ITransferHandlerExecutorValidation
Interface for executor validation hooks used by PermitTransferHandler. -
ICreatorHookSettingsRegistry
Interface for the Creator Hook Settings Registry used to configure AMM Standard Hook behavior.
Fixed Pool Type
Repository:
https://github.com/limitbreakinc/lbamm-pool-type-fixed
(All pool-type-specific interfaces and implementation live in this repository.)
Single Provider Pool Type
Repository:
https://github.com/limitbreakinc/lbamm-pool-type-single-provider
ISingleProviderPoolHook
Extension ofILimitBreakAMMPoolHookthat must be implemented by single provider pool hooks to provide pricing logic and liquidity ownership semantics.
Dynamic Pool Type
Repository:
https://github.com/limitbreakinc/amm-pool-type-dynamic
(All pool-type-specific interfaces and implementation live in this repository.)
