spl_token_2022::extension::confidential_transfer::verify_proof

Function verify_transfer_proof

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

Verify zero-knowledge proof needed for a [Transfer] instruction without fee and return the corresponding proof context.