spl_token_2022::extension::confidential_mint_burn::verify_proof

Function verify_burn_proof

Source
pub fn verify_burn_proof(
    account_info_iter: &mut Iter<'_, AccountInfo<'_>>,
    equality_proof_instruction_offset: i8,
    ciphertext_validity_proof_instruction_offset: i8,
    range_proof_instruction_offset: i8,
) -> Result<BurnProofContext, ProgramError>
Expand description

Verify zero-knowledge proofs needed for a [ConfidentialBurn] instruction and return the corresponding proof context information.