Docs.rs
  • ore-program-1.2.1
    • ore-program 1.2.1
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Documentation
    • Repository
    • crates.io
    • Source
    • Owners
    • HardhatChad
    • Dependencies
      • bs58 ^0.5.0 normal
      • bytemuck ^1.14.3 normal
      • mpl-token-metadata ^4.1.2 normal
      • num_enum ^0.7.2 normal
      • shank ^0.3.0 normal
      • solana-program ^1.16 normal
      • spl-associated-token-account ^2.2 normal
      • spl-token ^4 normal
      • static_assertions ^1.1.0 normal
      • thiserror ^1.0.57 normal
      • bs64 ^0.1.2 dev
      • rand ^0.8.5 dev
      • solana-program-test ^1.16 dev
      • solana-sdk ^1.16 dev
      • tokio ^1.35 dev
    • Versions
    • 42.28% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

ore1.2.1

Crate Items

  • Macros
  • Structs
  • Enums
  • Constants
  • Traits
  • Functions

List of all items

Structs

  • instruction::ClaimArgs
  • instruction::InitializeArgs
  • instruction::MineArgs
  • instruction::RegisterArgs
  • instruction::UpdateAdminArgs
  • instruction::UpdateDifficultyArgs
  • state::Bus
  • state::Hash
  • state::Proof
  • state::Treasury

Enums

  • error::OreError
  • instruction::OreInstruction
  • utils::AccountDiscriminator

Traits

  • utils::AccountDeserialize
  • utils::Discriminator

Macros

  • impl_account_from_bytes
  • impl_instruction_from_bytes
  • impl_to_bytes

Functions

  • check_id
  • entrypoint
  • id
  • instruction::claim
  • instruction::initialize
  • instruction::mine
  • instruction::register
  • instruction::reset
  • instruction::update_admin
  • instruction::update_difficulty
  • process_instruction

Constants

  • ID
  • consts::BUS
  • consts::BUS_ADDRESSES
  • consts::BUS_COUNT
  • consts::BUS_EPOCH_REWARDS
  • consts::EPOCH_DURATION
  • consts::INITIAL_DIFFICULTY
  • consts::INITIAL_REWARD_RATE
  • consts::MAX_EPOCH_REWARDS
  • consts::METADATA
  • consts::METADATA_ADDRESS
  • consts::METADATA_NAME
  • consts::METADATA_SYMBOL
  • consts::METADATA_URI
  • consts::MINT
  • consts::MINT_ADDRESS
  • consts::MINT_NOISE
  • consts::ONE_ORE
  • consts::PROOF
  • consts::SMOOTHING_FACTOR
  • consts::START_AT
  • consts::TARGET_EPOCH_REWARDS
  • consts::TOKEN_DECIMALS
  • consts::TREASURY
  • consts::TREASURY_ADDRESS