List of all items
Structs
- CpiSigner
- address::AddressSeed
- address::NewAddressParams
- address::NewAddressParamsAssigned
- address::NewAddressParamsAssignedPacked
- address::PackedNewAddressParams
- address::PackedReadOnlyAddress
- address::ReadOnlyAddress
- compressed_account::CompressedAccountInfo
- compressed_account::NewAddressParamsAssignedPacked
- cpi::CpiAccountsConfig
- cpi::CpiSigner
- cpi::v1::LightSystemProgramCpi
- cpi::v1::lowlevel::CpiInstructionConfig
- cpi::v2::LightSystemProgramCpi
- cpi::v2::lowlevel::CompressedAccountInfo
- cpi::v2::lowlevel::CompressedCpiContext
- cpi::v2::lowlevel::InAccount
- cpi::v2::lowlevel::InAccountInfo
- cpi::v2::lowlevel::InstructionDataInvokeCpiWithReadOnly
- cpi::v2::lowlevel::OutAccountInfo
- hasher::Poseidon
- hasher::Sha256
- hasher::sha256::Sha256
- hasher::sha256::Sha256BE
- instruction::AddressTreeInfo
- instruction::CompressedProof
- instruction::MerkleContext
- instruction::PackedAccounts
- instruction::PackedAddressTreeInfo
- instruction::PackedMerkleContext
- instruction::PackedStateTreeInfo
- instruction::SystemAccountMetaConfig
- instruction::SystemAccountPubkeys
- instruction::ValidityProof
- instruction::account_meta::CompressedAccountMeta
- instruction::account_meta::CompressedAccountMetaInitIfNeeded
- instruction::account_meta::CompressedAccountMetaNoAddress
- instruction::account_meta::CompressedAccountMetaNoLamportsNoAddress
- instruction::account_meta::CompressedAccountMetaReadOnly
- instruction::account_meta::CompressedAccountMetaWithLamports
- interface::CreateAccountsProof
- interface::compression_info::CompressedAccountData
- interface::compression_info::CompressionInfo
- interface::config::LightConfig
- interface::rent::AccountRentState
- interface::rent::CloseDistribution
- interface::rent::RentConfig
- interface::rent::ZRentConfig
- interface::rent::ZRentConfigMeta
- interface::rent::ZRentConfigMetaMut
- interface::rent::ZRentConfigMut
- proof::borsh_compat::CompressedProof
- proof::borsh_compat::ValidityProof
- sdk_types::CpiAccountsConfig
- sdk_types::PackedAddressTreeInfo
- sdk_types::RentSponsor
Enums
- error::LightSdkError
- hasher::HasherError
- hasher::errors::HasherError
- interface::compression_info::AccountState
- interface::compression_info::CompressionState
Traits
- LightDiscriminator
- PubkeyTrait
- account::Size
- cpi::CpiAccountsTrait
- cpi::LightCpiInstruction
- cpi::LightInstructionData
- cpi::invoke::InvokeLightSystemProgram
- cpi::invoke::LightInstructionData
- hasher::DataHasher
- hasher::Hasher
- hasher::hash_to_field_size::HashToFieldSize
- hasher::sha256::RequireSha256
- hasher::to_byte_array::ToByteArray
- instruction::AccountMetasVec
- instruction::account_info::CompressedAccountInfoTrait
- instruction::account_info::InAccountInfoTrait
- instruction::account_meta::CompressedAccountMetaTrait
- interface::compress_runtime::CompressContext
- interface::compression_info::CompressAs
- interface::compression_info::CompressedInitSpace
- interface::compression_info::HasCompressionInfo
- interface::compression_info::Pack
- interface::compression_info::Space
- interface::compression_info::Unpack
- interface::finalize::LightFinalize
- interface::finalize::LightPreInit
- interface::rent::RentConfigTrait
- interface::traits::IntoCTokenVariant
- interface::traits::IntoVariant
- legacy::InvokeAccounts
- legacy::InvokeCpiAccounts
- legacy::InvokeCpiContextAccount
- legacy::InvokeCpiContextAccountMut
- legacy::LightSystemAccount
- legacy::LightTraits
- legacy::SignerAccounts
Macros
- cpi::derive_light_cpi_signer
- derive_light_cpi_signer
- derive_light_cpi_signer_pda
- derive_light_rent_sponsor
- derive_light_rent_sponsor_pda
- find_cpi_signer_macro
Derive Macros
Functions
- address::v1::derive_address
- address::v1::derive_address_seed
- address::v2::derive_address
- address::v2::derive_address_from_seed
- address::v2::derive_address_seed
- address::v2::derive_compressed_address
- compressed_account::derive_address
- cpi::invoke::invoke_light_system_program
- cpi::v1::lowlevel::get_account_metas_from_config
- cpi::v2::lowlevel::to_account_metas
- hasher::hash_to_field_size::hash_to_bn254_field_size_be
- hasher::hash_to_field_size::hashv_to_bn254_field_size_be
- hasher::hash_to_field_size::hashv_to_bn254_field_size_be_array
- hasher::hash_to_field_size::hashv_to_bn254_field_size_be_const_array
- instruction::get_light_system_account_metas
- instruction::get_light_system_account_metas_v2
- instruction::pack_address_tree_info
- instruction::pack_address_tree_infos
- instruction::pack_merkle_context
- instruction::pack_merkle_contexts
- instruction::unpack_address_tree_info
- instruction::unpack_address_tree_infos
- interface::close::close
- interface::compress_account::prepare_account_for_compression
- interface::compress_account_on_init::prepare_compressed_account_on_init
- interface::compress_runtime::process_compress_pda_accounts_idempotent
- interface::compression_info::claim_completed_epoch_rent
- interface::config::check_program_upgrade_authority
- interface::config::process_initialize_light_config
- interface::config::process_initialize_light_config_checked
- interface::config::process_update_light_config
- interface::decompress_idempotent::into_compressed_meta_with_address
- interface::decompress_idempotent::prepare_account_for_decompression_idempotent
- interface::rent::get_last_funded_epoch
- interface::rent::get_rent_exemption_lamports
- legacy::create_cpi_inputs_for_new_account
- transfer::transfer_compressed_sol
- utils::derive_rent_sponsor_pda
- utils::get_light_cpi_signer_seeds
Type Aliases
- account::sha::LightAccount
- cpi::v1::CpiAccounts
- cpi::v2::CpiAccounts
- error::Result
- instruction::account_meta::CompressedAccountMetaBurn
- interface::rent::RentConfigConfig
Constants
- constants::ACCOUNT_COMPRESSION_AUTHORITY_PDA
- constants::ACCOUNT_COMPRESSION_PROGRAM_ID
- constants::ADDRESS_MERKLE_TREE_CANOPY_DEPTH
- constants::ADDRESS_MERKLE_TREE_CHANGELOG
- constants::ADDRESS_MERKLE_TREE_HEIGHT
- constants::ADDRESS_MERKLE_TREE_INDEXED_CHANGELOG
- constants::ADDRESS_MERKLE_TREE_ROOTS
- constants::ADDRESS_QUEUE_V1
- constants::ADDRESS_TREE_V1
- constants::ADDRESS_TREE_V2
- constants::CPI_AUTHORITY_PDA_SEED
- constants::CPI_CONTEXT_ACCOUNT_1_DISCRIMINATOR
- constants::CPI_CONTEXT_ACCOUNT_2_DISCRIMINATOR
- constants::LIGHT_SYSTEM_PROGRAM_ID
- constants::LIGHT_TOKEN_PROGRAM_ID
- constants::NOOP_PROGRAM_ID
- constants::REGISTERED_PROGRAM_PDA
- constants::RENT_SPONSOR_SEED
- constants::SOL_POOL_PDA
- constants::STATE_MERKLE_TREE_CANOPY_DEPTH
- constants::STATE_MERKLE_TREE_CHANGELOG
- constants::STATE_MERKLE_TREE_HEIGHT
- constants::STATE_MERKLE_TREE_ROOTS
- constants::TOKEN_COMPRESSED_ACCOUNT_DISCRIMINATOR
- cpi::v1::lowlevel::SYSTEM_ACCOUNTS_LEN
- hasher::hash_to_field_size::HASH_TO_FIELD_SIZE_SEED
- interface::compression_info::OPTION_COMPRESSION_INFO_SPACE
- interface::config::COMPRESSIBLE_CONFIG_SEED
- interface::config::MAX_ADDRESS_TREES_PER_SPACE
- interface::rent::BASE_RENT
- interface::rent::COMPRESSION_COST
- interface::rent::COMPRESSION_INCENTIVE
- interface::rent::RENT_PER_BYTE
- interface::rent::SLOTS_PER_EPOCH