8 unstable releases (3 breaking)
| new 0.4.2 | Nov 20, 2025 |
|---|---|
| 0.4.1 | Nov 14, 2025 |
| 0.3.0 | Nov 4, 2025 |
| 0.2.2 | Oct 9, 2025 |
| 0.1.0 | Aug 22, 2025 |
#191 in Magic Beans
21 downloads per month
270KB
6K
SLoC
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.
Balancer Maths
Reference maths implementations and packages for Balancer V3 pools.
Python
Python implementation. See README.
Typescript
Typescript implementation. See README and NPM package.
TestData
Test data and helpers.
Dependencies
~5.5–7.5MB
~135K SLoC