balancer-maths-rust 0.5.0

Balancer V3 mathematics library in Rust
Documentation
//! Pool implementations for different Balancer pool types

pub mod buffer;
pub mod fixed_price_lbp;
pub mod gyro;
pub mod liquidity_bootstrapping;
pub mod quantamm;
pub mod reclamm;
pub mod reclammv2;
pub mod stable;
pub mod weighted;

// Re-export pool traits and types
pub use buffer::{
    erc4626_buffer_wrap_or_unwrap, BufferImmutable, BufferMutable, BufferState, WrappingDirection,
};
pub use fixed_price_lbp::{
    FixedPriceLBPImmutable, FixedPriceLBPMutable, FixedPriceLBPPool, FixedPriceLBPState,
};
pub use gyro::{GyroECLPImmutable, GyroECLPPool, GyroECLPState};
pub use liquidity_bootstrapping::{
    LiquidityBootstrappingImmutable, LiquidityBootstrappingMutable, LiquidityBootstrappingPool,
    LiquidityBootstrappingState,
};
pub use quantamm::{QuantAmmImmutable, QuantAmmMutable, QuantAmmPool, QuantAmmState};
pub use reclamm::{ReClammImmutable, ReClammMutable, ReClammPool, ReClammState};
pub use reclammv2::{ReClammV2Immutable, ReClammV2Mutable, ReClammV2Pool, ReClammV2State};
pub use stable::{StableMutable, StablePool, StableState};
pub use weighted::{WeightedPool, WeightedState};