spl_token_2022::extension::confidential_transfer::verify_proof

Function verify_withdraw_proof

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

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