Docs.rs
  • stable-swap-1.8.1
    • stable-swap 1.8.1
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • Crates.io
    • Source
    • Owners
    • macalinao
    • Dependencies
      • solana-program ^1.6.10 normal
      • spl-token ^3 normal
      • stable-swap-client ^1 normal
      • stable-swap-math ^1 normal
      • solana-sdk ^1.10.8 dev
    • Versions
      • 1.8.1
      • 1.8.0
      • 1.7.3
      • 1.7.2
      • 1.7.1
      • 1.7.0
      • 1.6.9
      • 1.6.7
      • 1.6.6
      • 1.6.5
      • 1.6.4
      • 1.6.3
      • 1.6.2
      • 1.6.1
      • 1.6.0
    • 100% of the crate is documented
  • Platform
    • x86_64-unknown-linux-gnu
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate stable_swap

logo
Change settings

List of all items

Structs

  • curve::StableSwap
  • curve::SwapResult
  • fees::Fees
  • instruction::DepositData
  • instruction::InitializeData
  • instruction::RampAData
  • instruction::SwapData
  • instruction::WithdrawData
  • instruction::WithdrawOneData
  • pool_converter::PoolTokenConverter
  • processor::Processor
  • state::SwapInfo
  • state::SwapTokenInfo

Enums

  • error::SwapError
  • instruction::AdminInstruction
  • instruction::SwapInstruction

Traits

  • math::FeeCalculator

Functions

  • check_id
  • entrypoint::entrypoint
  • id
  • instruction::apply_new_admin
  • instruction::commit_new_admin
  • instruction::deposit
  • instruction::initialize
  • instruction::pause
  • instruction::ramp_a
  • instruction::set_fee_account
  • instruction::set_new_fees
  • instruction::stop_ramp_a
  • instruction::swap
  • instruction::unpause
  • instruction::withdraw
  • instruction::withdraw_one
  • math::mul_div
  • math::mul_div_imbalanced

Statics

  • ID

Constants

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