spl_token_2022::extension::confidential_mint_burn::verify_proof

Function verify_mint_proof

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

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