Accounts
Overview
FusionPoolsConfig
FusionPoolsConfig is the global configuration for FusionPools in the Fusion AMM. It holds default settings like fees and liquidity rules, which all FusionPools inherit unless customized. It also specifies the fee withdrawal addresses for managing fees.
As a single instance, it governs all FusionPools, ensuring consistency and security.
FusionPool
Fusion AMM Program IDs
fUSioN9YKKSa3CUC2YUc4tPkHJ5Y6XW1yz8y6F7qWz9
A concentrated liquidity pool between a token pair (A & B).
Each FusionPool account hosts the necessary information to deal with the accounting of the pool. It also hosts the token accounts of the vaults. Only the Fusion AMM program has authority to withdraw from the vault. No one, not even the program owner or FusionPoolsConfig owner, has the authority to withdraw.
A FusionPool account is hashed by the Config, Token pair mints and tick spacing, so there can be many pools for the same trading pair but with a different tick-spacing.
TickArray
In short this account holds many Tick accounts in order to allow for price to move up or down accross ticks in a swap transaction. To learn about TickArray, read Tick Arrays Mechanics.
Tick
The smallest unit of price measurement in Liquidity Pools, a Tick defines discrete price points to specify liquidity provision within selected price ranges as well as precise prices for limit ordering. For more information on Ticks and their impact on pools and pricing read Price and Ticks.
LimitOrder
A LimitOrder account stores details for a user-created limit order in a FusionPool, specifying a precise price (tick) for buying or selling an asset. As a pioneering feature of the Fusion AMM, limit orders enable efficient trading within concentrated liquidity pools. For more details, see Limit Orders.
Position
Positions represent a set of liquidity distributed on a price range within a single FusionPool. To learn more, read Positions.
Last updated