Crate stable_swap

Source
Expand description

An automated market maker for mean-reverting trading pairs.

Re-exports§

pub use solana_program;

Modules§

curve
Swap calculations and curve invariant implementation
entrypoint
Program entrypoint definitions
error
Error types
fees
Program fees
instruction
Instruction types
math
Math helpers
pool_converter
Conversions for pool tokens
processor
Program state processor
state
State transition types

Constants§

ID
The const program ID.

Functions§

check_id
Returns true if given pubkey is the program ID.
id
Returns the program ID.