light_client/interface/
mod.rs

1//! Client utilities for hot/cold account handling.
2
3pub mod account_interface;
4pub mod account_interface_ext;
5pub mod create_accounts_proof;
6pub mod decompress_mint;
7pub mod initialize_config;
8pub mod instructions;
9pub mod light_program_interface;
10pub mod load_accounts;
11pub mod pack;
12pub mod tx_size;
13
14pub use account_interface::{AccountInterface, AccountInterfaceError, TokenAccountInterface};
15pub use account_interface_ext::AccountInterfaceExt;
16pub use create_accounts_proof::{
17    get_create_accounts_proof, CreateAccountsProofError, CreateAccountsProofInput,
18    CreateAccountsProofResult,
19};
20pub use decompress_mint::{
21    DecompressMintError, MintInterface, MintState, DEFAULT_RENT_PAYMENT, DEFAULT_WRITE_TOP_UP,
22};
23pub use initialize_config::InitializeRentFreeConfig;
24pub use light_compressible::CreateAccountsProof;
25pub use light_program_interface::{
26    all_hot, any_cold, discriminator, matches_discriminator, AccountSpec, AccountToFetch,
27    ColdContext, LightProgramInterface, PdaSpec,
28};
29pub use light_sdk::interface::config::LightConfig;
30pub use light_token::compat::TokenData;
31pub use load_accounts::{create_load_instructions, LoadAccountsError};
32pub use pack::{pack_proof, PackError, PackedProofResult};
33pub use solana_account::Account;
34pub use tx_size::{split_by_tx_size, InstructionTooLargeError, PACKET_DATA_SIZE};