light_system_program/sdk/
mod.rs

1pub mod accounts;
2pub mod address;
3pub mod compressed_account;
4pub mod event;
5pub mod invoke;
6use anchor_lang::prelude::*;
7
8#[derive(AnchorSerialize, AnchorDeserialize, Debug, Clone, Copy, PartialEq, Eq, Default)]
9pub struct CompressedCpiContext {
10    /// Is set by the program that is invoking the CPI to signal that is should
11    /// set the cpi context.
12    pub set_context: bool,
13    /// Is set to wipe the cpi context since someone could have set it before
14    /// with unrelated data.
15    pub first_set_context: bool,
16    /// Index of cpi context account in remaining accounts.
17    pub cpi_context_account_index: u8,
18}