Docs.rs
  • stable-swap-math-1.8.1
    • stable-swap-math 1.8.1
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • macalinao
    • Dependencies
      • borsh ^0.9.2 normal
      • num-traits ^0.2 normal
      • stable-swap-client ^1 normal
      • uint =0.9.1 normal
      • proptest ^1.0.0 dev
      • rand ^0.8.4 dev
      • stable-swap-sim ^0.1 dev
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

stable_swap_math1.8.1

Crate Items

  • Structs
  • Constants
  • Traits
  • Functions

List of all items

Structs

  • bn::U192
  • bn::U256
  • curve::StableSwap
  • curve::SwapResult
  • pool_converter::PoolTokenConverter
  • price::SaberSwap

Traits

  • math::FeeCalculator

Functions

  • math::mul_div
  • math::mul_div_imbalanced

Constants

  • curve::MAX_AMP
  • curve::MAX_TOKENS_IN
  • curve::MIN_AMP
  • curve::MIN_RAMP_DURATION
  • curve::N_COINS
  • curve::ZERO_TS