Expand description
Bonding-curve and AMM quote math (u128 intermediates, u64 at the boundary).
Re-exports§
pub use bonding_curve::TOKEN_SUPPLY;
Modules§
- amm
- AMM (pump-swap) quote helpers.
- bonding_
curve - Bonding-curve buy/sell quotes.
- fees
- Fee math for bonding-curve and AMM quotes (basis points as
u64). - utils
- Shared numeric helpers for quote math.
Enums§
- Quote
Error - Quote failure modes (empty reserves, bad inputs, fee overflow, etc.).