curve-math 0.1.0-alpha.2

Pure Rust port of Curve Finance AMM math (StableSwap + CryptoSwap). Wei-level precision, fuzz-verified against on-chain get_dy for 200+ pools.
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub mod stableswap_alend;
pub mod stableswap_meta;
pub mod stableswap_ng;
pub mod stableswap_v0;
pub mod stableswap_v1;
pub mod stableswap_v2;
pub mod tricrypto_ng;
pub mod tricrypto_v1;
pub mod twocrypto_ng;
pub mod twocrypto_stable;
pub mod twocrypto_v1;