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::{
12 compressed_proof::ValidityProof, data::PackedAddressTreeInfo,
13};
14
15#[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug)]
19pub struct CreateAccountsProof {
20 pub proof: ValidityProof,
22 pub address_tree_info: PackedAddressTreeInfo,
24 pub output_state_tree_index: u8,
26 pub state_tree_index: Option<u8>,
29}