Function spl_token_2022::proof::verify_and_extract_context

source ยท
pub fn verify_and_extract_context<'a, T: Pod + ZkProofData<U>, U: Pod>(
    account_info_iter: &mut Iter<'_, AccountInfo<'a>>,
    proof_instruction_offset: i64,
    sysvar_account_info: Option<&AccountInfo<'a>>,
) -> Result<U, ProgramError>
Expand description

Verify zero-knowledge proof and return the corresponding proof context.