Docs.rs
  • bonfida-utils-0.6.2
    • bonfida-utils 0.6.2
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • ellttBen
    • Lcchy
    • dr497
    • Dependencies
      • bonfida-macros ^0.6.2 normal
      • borsh ^0.10.3 normal
      • bytemuck ^1.9.1 normal
      • lazy_static ^1.4.0 normal optional
      • pyth-sdk-solana ^0.4.2 normal
      • pyth-solana-receiver-sdk ^0.3.0 normal
      • regex ^1.5.5 normal optional
      • serde ^1.0.136 normal optional
      • serde_json ^1.0.79 normal optional
      • solana-program ^1.18.11 normal
      • spl-token =4.0.0 normal
      • hex ^0.4.3 dev
      • solana-client ^1.9 dev
    • Versions
    • 18% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • 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

bonfida_utils0.6.2

  • Macros
  • Enums
  • Constants
  • Traits
  • Functions
  • Derive Macros

List of all items

Enums

  • tokens::SupportedToken

Traits

  • BorshSize
  • InstructionsAccount
  • WrappedPod
  • WrappedPodMut

Macros

  • compute_record_hash
  • compute_record_hash_v2
  • declare_id_with_central_state

Derive Macros

  • BorshSize
  • InstructionsAccount
  • WrappedPod
  • WrappedPodMut

Functions

  • checks::check_account_derivation
  • checks::check_account_key
  • checks::check_account_owner
  • checks::check_rent_exempt
  • checks::check_signer
  • checks::check_token_account_owner
  • fp_math::fp32_div
  • fp_math::fp32_mul_ceil
  • fp_math::fp32_mul_floor
  • fp_math::fp64_div
  • fp_math::fp64_mul_ceil
  • fp_math::fp64_mul_floor
  • fp_math::ifp32_div
  • fp_math::ifp32_mul_ceil
  • fp_math::ifp32_mul_floor
  • pyth::check_price_acc_key
  • pyth::get_corp_act
  • pyth::get_market_symbol
  • pyth::get_oracle_ema_price_fp32
  • pyth::get_oracle_price_fp32
  • pyth::get_oracle_price_fp32_v2
  • pyth::get_oracle_price_from_feed_id_fp32
  • pyth::get_oracle_price_or_ema_fp32
  • pyth::get_price_type
  • pyth::get_pyth_feed_account_key
  • pyth::get_status
  • pyth::parse_price_v2

Constants

  • fp_math::FP_32_ONE
  • pyth::DEFAULT_PYTH_PUSH
  • pyth::PRICE_FEED_DISCRIMATOR