IPaymentVerifier
Overview
The IPaymentVerifier interface contract verifies off-chain payment proofs. This enables on-chain actions (such as releasing escrowed funds) once a valid proof that a payment occurred is provided. Verifiers can be added to the Escrow which unlock new payment platforms and currencies that users can transact with
Structs
Additional data may include mail server key hash if using zkEmail, notary public key for TLSNotary or witness proxy for TLSProxy (Reclaim)
External Functions
verifyPayment
Description:
Override function that must be implemented when adding a new Verifier. The escrow
contract calls this method to confirm that a payment was indeed made according to the provided proof.
If successful:
The payment is nullified (cannot be claimed again).
Returns a boolean indicating success and the
intentHash
.
Last updated