3 releases (breaking)

0.10.1 Mar 20, 2022
0.1.0 Oct 26, 2021
0.0.1 Oct 25, 2021

#11 in #amm

Download history 1/week @ 2024-05-20 2/week @ 2024-07-29

62 downloads per month
Used in cpamm

AGPL-3.0

21KB
336 lines

xyk

Crates.io License

Constant product AMM invariant calculator, based on the Solana Labs implementation.


lib.rs:

The constant product invariant calculator.

Dependencies

~17–26MB
~448K SLoC