Module spl_token_2022::proof
source · Expand description
Helper for processing instruction data from ZK ElGamal proof program
Structs§
- Instruction options for when using split context state accounts
Enums§
- A proof data type to distinguish between proof data included as part of zk-token proof instruction data and proof data stored in a record account.
- A proof location type meant to be used for arguments to instruction constructors.
Functions§
- Decodes the proof context data associated with a zero-knowledge proof instruction.
- Verify zero-knowledge proof and return the corresponding proof context.
- Converts a zk proof type to a corresponding ZK ElGamal proof program instruction that verifies the proof.