/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { IProviderRegistry, IProviderRegistryInterface, } from "../IProviderRegistry"; const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "provider", type: "address", }, { indexed: false, internalType: "address", name: "wallet", type: "address", }, ], name: "AddProivderWallet", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "provider", type: "address", }, ], name: "AddProvider", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "provider", type: "address", }, ], name: "RemoveProvider", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "provider", type: "address", }, { indexed: false, internalType: "address", name: "wallet", type: "address", }, ], name: "RemoveProviderWallet", type: "event", }, { inputs: [ { internalType: "address", name: "provider", type: "address", }, ], name: "addProvider", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "provider", type: "address", }, ], name: "isProvider", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "provider", type: "address", }, { internalType: "bytes32", name: "hash", type: "bytes32", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], name: "isValidSignature", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "provider", type: "address", }, ], name: "providerWallet", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "provider", type: "address", }, ], name: "providerWalletExists", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "provider", type: "address", }, ], name: "removeProvider", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export class IProviderRegistry__factory { static readonly abi = _abi; static createInterface(): IProviderRegistryInterface { return new utils.Interface(_abi) as IProviderRegistryInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IProviderRegistry { return new Contract(address, _abi, signerOrProvider) as IProviderRegistry; } }