Re-exports§
pub use light_compressed_account;
pub use light_verifier as verifier;
pub use constants::*;
Modules§
- account
- account_
info - address
- bigint
- checks
- constants
- cpi
- discriminator
- error
- errors
- hash_
to_ field_ size - instruction
- keccak
- legacy
- Legacy types re-imported from programs which should be removed as soon as possible.
- poseidon
- sha256
- syscalls
- This module is a partial copy from solana-program, which is licensed under Apache License 2.0.
- to_
byte_ array - token
- transfer
- utils
- zero_
bytes - zero_
indexed_ leaf
Macros§
- find_
cpi_ signer_ macro - impl_
to_ byte_ array_ for_ array - Example usage: impl_to_byte_array_for_array! { MyCustomType, 1 => [0], 2 => [0, 1] }
Structs§
- Instruction
Data Invoke - Keccak
- NewAddress
Params - NewAddress
Params Assigned - NewAddress
Params Assigned Packed - NewAddress
Params Packed - Output
Compressed Account With Context - Output
Compressed Account With Packed Context - Packed
Read Only Address - Poseidon
- Read
Only Address - Sha256
- Validity
Proof
Enums§
Constants§
Traits§
Functions§
Type Aliases§
Attribute Macros§
- light_
account - light_
accounts - light_
program - light_
system_ accounts - Adds required fields to your anchor instruction for applying a zk-compressed state transition.
Derive Macros§
- Light
Accounts - Light
Discriminator - Light
Hasher - Makes the annotated struct hashable by implementing the following traits:
- Light
Traits - Implements traits on the given struct required for invoking The Light system program via CPI.