#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

#10 in #saber

Download history 30/week @ 2024-04-20 24/week @ 2024-04-27 25/week @ 2024-05-04 27/week @ 2024-05-11 32/week @ 2024-05-18 34/week @ 2024-05-25 34/week @ 2024-06-01 34/week @ 2024-06-08 29/week @ 2024-06-15 37/week @ 2024-06-22 17/week @ 2024-06-29 4/week @ 2024-07-06 22/week @ 2024-07-13 41/week @ 2024-07-20 120/week @ 2024-07-27 36/week @ 2024-08-03

219 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

~16–25MB
~422K SLoC