Docs.rs
  • astroport-pair-stable-4.1.1
    • astroport-pair-stable 4.1.1
    • Permalink
    • Docs.rs crate page
    • GPL-3.0-only
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • epanchee
    • Dependencies
      • astroport ^5.7.0 normal
      • astroport-circular-buffer ^0.2 normal
      • cosmwasm-schema ^1.5 normal
      • cosmwasm-std ^1.5 normal
      • cw-storage-plus ^1.2 normal
      • cw-utils ^1 normal
      • cw2 ^1 normal
      • cw20 ^1.1 normal
      • itertools ^0.12 normal
      • thiserror ^1.0 normal
      • anyhow ^1.0 dev
      • cw20-base ^1.1 dev
      • derivative ^2.2 dev
      • proptest ^1.0.0 dev
      • prost ^0.11.5 dev
    • Versions
    • 47.19% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • 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

astroport_pair_stable4.1.1

Crate Items

  • Structs
  • Enums
  • Constants
  • Functions

List of all items

Structs

  • state::Config

Enums

  • error::ContractError

Functions

  • contract::assert_max_spread
  • contract::calculate_maker_fee
  • contract::execute
  • contract::instantiate
  • contract::migrate
  • contract::pool_info
  • contract::provide_liquidity
  • contract::query
  • contract::query_config
  • contract::query_cumulative_prices
  • contract::query_pool
  • contract::query_reverse_simulation
  • contract::query_share
  • contract::query_simulation
  • contract::receive_cw20
  • contract::reply
  • contract::swap
  • contract::update_config
  • contract::withdraw_liquidity
  • math::compute_d
  • utils::accumulate_prices
  • utils::accumulate_swap_sizes
  • utils::compute_current_amp
  • utils::mint_liquidity_token_message

Constants

  • math::AMP_PRECISION
  • math::MAX_AMP
  • math::MAX_AMP_CHANGE
  • math::MIN_AMP_CHANGING_TIME
  • math::N_COINS
  • math::TOL
  • state::CONFIG
  • state::OBSERVATIONS
  • state::OWNERSHIP_PROPOSAL
  • state::PRECISIONS