stable_swap/
lib.rs

1//! An automated market maker for mean-reverting trading pairs.
2#![deny(rustdoc::all)]
3#![allow(rustdoc::missing_doc_code_examples)]
4#![deny(clippy::unwrap_used)]
5#![deny(clippy::integer_arithmetic)]
6#![deny(missing_docs)]
7
8pub mod entrypoint;
9pub mod processor;
10
11pub use stable_swap_client::{error, fees, instruction, state};
12pub use stable_swap_math::{curve, math, pool_converter};
13
14/// Export current solana-program types for downstream users who may also be
15/// building with a different solana-program version
16pub use solana_program;
17
18solana_program::declare_id!("SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ");