light_compressible/
lib.rs1pub mod compression_info;
2pub mod config;
3pub mod error;
4pub mod registry_instructions;
5pub mod rent;
6
7#[cfg(feature = "anchor")]
8use anchor_lang::{AnchorDeserialize, AnchorSerialize};
9#[cfg(not(feature = "anchor"))]
10use borsh::{BorshDeserialize as AnchorDeserialize, BorshSerialize as AnchorSerialize};
11use light_compressed_account::instruction_data::compressed_proof::ValidityProof;
12use light_sdk_types::instruction::PackedAddressTreeInfo;
13
14#[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug)]
18pub struct CreateAccountsProof {
19 pub proof: ValidityProof,
21 pub address_tree_info: PackedAddressTreeInfo,
23 pub output_state_tree_index: u8,
25 pub state_tree_index: Option<u8>,
28}