Docs.rs
  • solana-program-2.1.4
    • solana-program 2.1.4
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • anza-team
    • Dependencies
      • bincode ^1.3.3 normal
      • blake3 ^1.5.4 normal
      • borsh ^1.5.1 normal optional
      • borsh ^0.10.3 normal optional
      • bs58 ^0.5.1 normal
      • bv ^0.11.1 normal
      • bytemuck ^1.19.0 normal
      • bytemuck_derive ^1.8.0 normal
      • five8_const ^0.1.3 normal
      • lazy_static ^1.5.0 normal
      • log ^0.4.22 normal
      • memoffset ^0.9 normal
      • num-derive ^0.4 normal
      • num-traits ^0.2 normal
      • qualifier_attr ^0.2.2 normal optional
      • serde ^1.0.213 normal
      • serde_bytes ^0.11.15 normal
      • serde_derive ^1.0.213 normal
      • sha2 ^0.10.8 normal
      • sha3 ^0.10.8 normal
      • solana-account-info =2.1.4 normal
      • solana-atomic-u64 =2.1.4 normal
      • solana-bincode =2.1.4 normal
      • solana-borsh =2.1.4 normal optional
      • solana-clock =2.1.4 normal
      • solana-cpi =2.1.4 normal
      • solana-decode-error =2.1.4 normal
      • solana-epoch-schedule =2.1.4 normal
      • solana-fee-calculator =2.1.4 normal
      • solana-frozen-abi =2.1.4 normal optional
      • solana-frozen-abi-macro =2.1.4 normal optional
      • solana-hash =2.1.4 normal
      • solana-instruction =2.1.4 normal
      • solana-last-restart-slot =2.1.4 normal
      • solana-msg =2.1.4 normal
      • solana-native-token =2.1.4 normal
      • solana-program-entrypoint =2.1.4 normal
      • solana-program-error =2.1.4 normal
      • solana-program-memory =2.1.4 normal
      • solana-program-option =2.1.4 normal
      • solana-program-pack =2.1.4 normal
      • solana-pubkey =2.1.4 normal
      • solana-rent =2.1.4 normal
      • solana-sanitize =2.1.4 normal
      • solana-sdk-macro =2.1.4 normal
      • solana-secp256k1-recover =2.1.4 normal
      • solana-serde-varint =2.1.4 normal
      • solana-serialize-utils =2.1.4 normal
      • solana-sha256-hasher =2.1.4 normal
      • solana-short-vec =2.1.4 normal
      • solana-slot-hashes =2.1.4 normal
      • solana-slot-history =2.1.4 normal
      • solana-stable-layout =2.1.4 normal
      • solana-sysvar-id =2.1.4 normal
      • thiserror ^1.0.65 normal
      • anyhow ^1.0.91 dev
      • array-bytes =1.4.1 dev
      • assert_matches ^1.5.0 dev
      • itertools ^0.12.1 dev
      • serde_json ^1.0.132 dev
      • serial_test ^2.0.0 dev
      • solana-pubkey =2.1.4 dev
      • static_assertions ^1.1.0 dev
      • test-case ^3.3.1 dev
      • base64 ^0.22.1 normal
      • bitflags ^2.6.0 normal
      • curve25519-dalek ^4.1.3 normal
      • num-bigint ^0.4.6 normal
      • rand ^0.8.5 normal
      • solana-transaction-error =2.1.4 normal
      • arbitrary ^1.3.2 dev
      • libsecp256k1 ^0.6.0 dev
      • solana-logger =2.1.4 dev
      • parking_lot ^0.12 normal
      • console_error_panic_hook ^0.1.7 normal
      • console_log ^0.2.2 normal
      • getrandom ^0.2.10 normal
      • js-sys ^0.3.72 normal
      • wasm-bindgen ^0.2 normal
      • getrandom ^0.2.10 normal
      • solana-define-syscall =2.1.4 normal
    • Versions
    • 50.62% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-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

solana_program2.1.4

Module instruction

Module Items

  • Structs
  • Enums
  • Functions

In solana_program::stake

solana_program::stake

Module instruction

Source

Structs§

  • AuthorizeCheckedWithSeedArgs
  • AuthorizeWithSeedArgs
  • LockupArgs
  • LockupCheckedArgs

Enums§

  • StakeError
    Reasons the stake might have had an error
  • StakeInstruction

Functions§

  • authorize
  • authorize_checked
  • authorize_checked_with_seed
  • authorize_with_seed
  • create_account
  • create_account_and_delegate_stake
  • create_account_checked
  • create_account_with_seed
  • create_account_with_seed_and_delegate_stake
  • create_account_with_seed_checked
  • deactivate_delinquent_stake
  • deactivate_stake
  • delegate_stake
  • get_minimum_delegation
  • initialize
  • initialize_checked
  • merge
  • move_lamports
  • move_stake
  • redelegateDeprecated
  • redelegate_with_seedDeprecated
  • set_lockup
  • set_lockup_checked
  • split
  • split_with_seed
  • withdraw