spl_token_confidential_transfer_proof_extraction::instruction

Function decode_proof_instruction_context

Source
pub fn decode_proof_instruction_context<T: Pod + ZkProofData<U>, U: Pod>(
    account_info_iter: &mut Iter<'_, AccountInfo<'_>>,
    expected: ProofInstruction,
    instruction: &Instruction,
) -> Result<U, ProgramError>
Expand description

Decodes the proof context data associated with a zero-knowledge proof instruction.