📜Smart Contracts
Ramp
The Ramp
contract is designed to orchestrate the interaction between different actors in the ecosystem. It manages user registrations, deposits, and transaction intents, and employs Zero-Knowledge Proofs for validation purposes. Additionally, it provides mechanisms for dispute resolution, user denylisting, and governance controls to maintain system integrity and ensure a secure and trustless environment for P2P transactions.
Processors
Venmo Registration Processor
The VenmoRegistrationProcessor
contract is designed to manage and verify user registrations, leveraging the Groth16Verifier
. It defines methods to process and validate registration proofs, ensuring the authenticity of user data like email addresses and user ID hashes.
Venmo Send Processor
The VenmoSendProcessor
contract processes and verifies on-chain proof of off-chain transactions, ensuring they conform to specified protocols. It validates various elements of the transactions including the mailserver key hash, sender's email address, and the transaction amount, timestamp, and intent hash. Through these validations, it facilitates secure transaction processing in the system.
Nullifier Registry
The NullifierRegistry
is a smart contract that records unique identifiers (nullifiers) to prevent duplication in actions like user registrations. It controls writer permissions for adding nullifiers and offers transparent logging of these actions through emitted events.
Last updated