#curve #saber #sim #solana

stable-swap-sim

Simulations of the StableSwap invariant compared to Curve's reference implementation

4 releases

0.1.4 Apr 17, 2022
0.1.3 Mar 15, 2022
0.1.2 Dec 31, 2021
0.1.0 Dec 28, 2021

#12 in #sim


Used in 2 crates

Apache-2.0

14KB
298 lines

stable-swap-sim

Simulations of the StableSwap invariant compared to Curve's reference implementation.

Background

The Saber StableSwap program is built to be faithful to Curve's StableSwap invariant. This package contains a simulator which ensures that the output of the Saber Rust code is equivalent to that of Curve's Python reference implementation.

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:

Simulations of the StableSwap invariant compared to Curve's reference implementation.

Dependencies

~2.3–6.5MB
~54K SLoC