#saber #math #solana

stable-swap-math

Calculations for the StableSwap invariant

20 stable releases

1.8.1 Apr 17, 2022
1.8.0 Mar 15, 2022
1.7.0 Feb 26, 2022
1.6.8 Jan 17, 2022
1.3.0 Sep 7, 2021

#8 in #saber

Download history 17/week @ 2023-12-18 8/week @ 2023-12-25 1/week @ 2024-01-01 11/week @ 2024-01-08 3/week @ 2024-01-15 4/week @ 2024-01-22 16/week @ 2024-02-05 18/week @ 2024-02-12 27/week @ 2024-02-19 42/week @ 2024-02-26 33/week @ 2024-03-04 36/week @ 2024-03-11 37/week @ 2024-03-18 34/week @ 2024-03-25 214/week @ 2024-04-01

330 downloads per month
Used in 8 crates (3 directly)

Apache-2.0

130KB
2.5K SLoC

stable-swap-math

Calculations for the StableSwap invariant.

Documentation

Detailed information on how to build on Saber can be found on the Saber developer documentation website.

License

Saber StableSwap is licensed under the Apache License, Version 2.0.


lib.rs:

Math utilities for stable-swap.

Dependencies

~17–26MB
~432K SLoC