/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { SecretRegistry, SecretRegistryInterface, } from "../SecretRegistry"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "secrethash", type: "bytes32", }, { indexed: false, internalType: "bytes32", name: "secret", type: "bytes32", }, ], name: "SecretRevealed", type: "event", }, { inputs: [ { internalType: "bytes32", name: "secrethash", type: "bytes32", }, ], name: "getSecretRevealBlockTime", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes32", name: "secret", type: "bytes32", }, ], name: "registerSecret", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32[]", name: "secrets", type: "bytes32[]", }, ], name: "registerSecretBatch", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, ]; export class SecretRegistry__factory { static readonly abi = _abi; static createInterface(): SecretRegistryInterface { return new utils.Interface(_abi) as SecretRegistryInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): SecretRegistry { return new Contract(address, _abi, signerOrProvider) as SecretRegistry; } }