Skip to content

Commit

Permalink
add snark verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ququzone committed Nov 26, 2023
1 parent 40ad736 commit fb87391
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contracts/validators/OIDCSessionOnlyValidator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "../common/Contants.sol";
import "./BaseValidator.sol";

interface IVerifier {
function verifyProof(uint256[2] memory a, uint256[2][2] memory b, uint256[2] memory c, uint256[2] memory input)
external
view
returns (bool r);
}

// OIDC ZK based validator that can only to add session validator
contract OIDCSessionOnlyValidator is BaseValidator {
string public constant override NAME = "OIDC Validator";
Expand Down

0 comments on commit fb87391

Please sign in to comment.