UNPKG

@vocdoni/davinci-contracts

Version:

Smart contracts powering DAVINCI's digital voting protocol

51 lines (50 loc) 1.26 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IZKVerifier__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [], name: "provingKeyHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "bytes", name: "proof", type: "bytes", }, { internalType: "bytes", name: "input", type: "bytes", }, ], name: "verifyProof", outputs: [], stateMutability: "view", type: "function", }, ]; class IZKVerifier__factory { static createInterface() { return new ethers_1.Interface(_abi); } static connect(address, runner) { return new ethers_1.Contract(address, _abi, runner); } } exports.IZKVerifier__factory = IZKVerifier__factory; IZKVerifier__factory.abi = _abi;