spl_token_2022::extension::confidential_transfer

Module verify_proof

Source
Expand description

Helper functions to verify zero-knowledge proofs in the Confidential Transfer Extension

Functionsยง

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