Docs.rs
  • light-system-program-0.4.0
    • light-system-program 0.4.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • ananas-block
    • Dependencies
      • account-compression ^0.4.0 normal
      • aligned-sized ^0.2.0 normal
      • anchor-lang ^0.29.0 normal
      • groth16-solana ^0.0.3 normal
      • light-concurrent-merkle-tree ^0.2.0 normal
      • light-hasher ^0.2.0 normal
      • light-heap ^0.2.0 normal optional
      • light-indexed-merkle-tree ^0.2.0 normal
      • light-macros ^0.4.0 normal
      • light-utils ^0.2.0 normal
      • light-verifier ^0.2.0 normal
      • solana-security-txt ^1.1.0 normal
      • rand ^0.8.5 dev
      • solana-sdk ^1.18.11 normal
    • Versions
    • 13.26% 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.4.0

InvokeAccounts

Required Methods

  • get_account_compression_authority
  • get_account_compression_program
  • get_decompression_recipient
  • get_noop_program
  • get_registered_program_pda
  • get_sol_pool_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_sol_pool_pda(&self) -> Option<&UncheckedAccount<'info>>;
    fn get_decompression_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_sol_pool_pda(&self) -> Option<&UncheckedAccount<'info>>

source

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

Implementors§

source§

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

source§

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