Expand description
Balancer V3 mathematics library in Rust
This library provides reference implementations of mathematical calculations for Balancer V3 pools, including swaps, liquidity operations, and pool-specific math.
Re-exports§
pub use common::errors::PoolError;
pub use common::pool_base::PoolBase;
pub use common::types::AddLiquidityKind;
pub use common::types::PoolState;
pub use common::types::RemoveLiquidityKind;
pub use common::types::SwapKind;
pub use hooks::types::HookState;
pub use hooks::DefaultHook;
pub use hooks::HookBase;
pub use pools::weighted::WeightedPool;
pub use pools::weighted::WeightedState;
pub use vault::Vault;