Skip to main content

Module types

Module types 

Source
Expand description

Re-export boundary for the vendored compressed-account types consumed by light-sdk.

This module gathers every type, trait and function that light-sdk pulls from the vendored crate::lca module into a single surface so the dependency is explicit and centralized. It is purely a set of pub use re-exports; the definitions live in crate::lca.

Requires alloc, since the instruction-data structures allocate.

Re-exports§

pub use crate::lca::CompressedAccountError;
pub use crate::lca::InstructionDiscriminator;
pub use crate::lca::LightInstructionData;
pub use crate::lca::address::derive_address;
pub use crate::lca::compressed_account::CompressedAccount;
pub use crate::lca::compressed_account::CompressedAccountData;
pub use crate::lca::compressed_account::MerkleContext;
pub use crate::lca::compressed_account::PackedCompressedAccountWithMerkleContext;
pub use crate::lca::compressed_account::PackedMerkleContext;
pub use crate::lca::compressed_account::PackedReadOnlyCompressedAccount;
pub use crate::lca::instruction_data::compressed_proof::CompressedProof;
pub use crate::lca::instruction_data::compressed_proof::ValidityProof;
pub use crate::lca::instruction_data::cpi_context::CompressedCpiContext;
pub use crate::lca::instruction_data::data::NewAddressParams;
pub use crate::lca::instruction_data::data::NewAddressParamsAssigned;
pub use crate::lca::instruction_data::data::NewAddressParamsAssignedPacked;
pub use crate::lca::instruction_data::data::NewAddressParamsPacked;
pub use crate::lca::instruction_data::data::OutputCompressedAccountWithPackedContext;
pub use crate::lca::instruction_data::data::PackedReadOnlyAddress;
pub use crate::lca::instruction_data::data::ReadOnlyAddress;
pub use crate::lca::instruction_data::invoke_cpi::InstructionDataInvokeCpi;
pub use crate::lca::instruction_data::with_account_info::CompressedAccountInfo;
pub use crate::lca::instruction_data::with_account_info::InAccountInfo;
pub use crate::lca::instruction_data::with_account_info::InstructionDataInvokeCpiWithAccountInfo;
pub use crate::lca::instruction_data::with_account_info::OutAccountInfo;
pub use crate::lca::instruction_data::with_readonly::InAccount;
pub use crate::lca::instruction_data::with_readonly::InstructionDataInvokeCpiWithReadOnly;

Structs§

Pubkey
The address of a Solana account.