WorldIdAcceptorController.sol contract enables users to require zero-knowledge proof for their lending or borrowing counterparties through World ID. One of the use cases is verifying the humanness of the counterparty.
For more information about World ID please refer to the .
2. Important links
3. Contract details
WorldIdAcceptorController.sol is written in Solidity version 0.8.16
Features
Verify World ID zero-knowledge proof
Inherited contracts, implemented Interfaces and ERCs
Functions
checkAcceptor
Overview
Proposal contracts call this function to verify submitted World ID proofs.
This function takes three arguments supplied by the proposal contracts:
addressacceptor
bytes calldataproposerData - data to be verified from the proposer
bytes calldataacceptorData - data to be verified from the acceptor