Docs.rs
  • light-system-program-0.3.4
    • light-system-program 0.3.4
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • ananas-block
    • Dependencies
      • account-compression ^0.3.5 normal
      • aligned-sized ^0.1.4 normal
      • anchor-lang ^0.29.0 normal
      • borsh ^0.10.0 normal
      • bytemuck ^1.14 normal
      • groth16-solana ^0.0.3 normal
      • light-concurrent-merkle-tree ^0.1.4 normal
      • light-hasher ^0.1.4 normal
      • light-heap ^0.1.5 normal optional
      • light-macros ^0.3.5 normal
      • light-utils ^0.1.4 normal
      • light-verifier ^0.1.4 normal
      • lazy_static ^1.4.0 dev
      • light-circuitlib-rs ^0.1.4 dev
      • light-hash-set ^0.1.4 dev
      • light-indexed-merkle-tree ^0.1.4 dev
      • light-merkle-tree-reference ^0.1.4 dev
      • num-bigint ^0.4.4 dev
      • num-traits ^0.2.18 dev
      • rand ^0.8.5 dev
      • reqwest ^0.12 dev
      • serde_json ^1.0.114 dev
      • solana-banks-interface ^1.18.11 dev
      • solana-cli-output ^1.18.11 dev
      • solana-program-test ^1.18.11 dev
      • solana-sdk ^1.18.11 dev
      • tokio ^1.36.0 dev
      • solana-sdk ^1.18.11 normal
    • Versions
    • 12.45% 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
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

light_system_program0.3.4

InvokeAccounts

Required Methods

  • get_account_compression_authority
  • get_account_compression_program
  • get_compressed_sol_pda
  • get_compression_recipient
  • get_noop_program
  • get_registered_program_pda
  • get_system_program

Implementors

In light_system_program::sdk::accounts

Trait light_system_program::sdk::accounts::InvokeAccounts

source ·
pub trait InvokeAccounts<'info> {
    // Required methods
    fn get_registered_program_pda(&self) -> &Account<'info, RegisteredProgram>;
    fn get_noop_program(&self) -> &UncheckedAccount<'info>;
    fn get_account_compression_authority(&self) -> &UncheckedAccount<'info>;
    fn get_account_compression_program(
        &self
    ) -> &Program<'info, AccountCompression>;
    fn get_system_program(&self) -> &Program<'info, System>;
    fn get_compressed_sol_pda(&self) -> Option<&UncheckedAccount<'info>>;
    fn get_compression_recipient(&self) -> Option<&UncheckedAccount<'info>>;
}

Required Methods§

source

fn get_registered_program_pda(&self) -> &Account<'info, RegisteredProgram>

source

fn get_noop_program(&self) -> &UncheckedAccount<'info>

source

fn get_account_compression_authority(&self) -> &UncheckedAccount<'info>

source

fn get_account_compression_program(&self) -> &Program<'info, AccountCompression>

source

fn get_system_program(&self) -> &Program<'info, System>

source

fn get_compressed_sol_pda(&self) -> Option<&UncheckedAccount<'info>>

source

fn get_compression_recipient(&self) -> Option<&UncheckedAccount<'info>>

Implementors§

source§

impl<'info> InvokeAccounts<'info> for InvokeInstruction<'info>

source§

impl<'info> InvokeAccounts<'info> for InvokeCpiInstruction<'info>