/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  IOracleProtectionManager,
  IOracleProtectionManagerInterface,
} from "../../../../contracts/interfaces/oracleprotection/IOracleProtectionManager";

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "_msgSender",
        type: "address",
      },
    ],
    name: "isOracleApproved",
    outputs: [
      {
        internalType: "bool",
        name: "",
        type: "bool",
      },
    ],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "_msgSender",
        type: "address",
      },
    ],
    name: "isOracleApprovedAllowEOA",
    outputs: [
      {
        internalType: "bool",
        name: "",
        type: "bool",
      },
    ],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

export class IOracleProtectionManager__factory {
  static readonly abi = _abi;
  static createInterface(): IOracleProtectionManagerInterface {
    return new Interface(_abi) as IOracleProtectionManagerInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null
  ): IOracleProtectionManager {
    return new Contract(
      address,
      _abi,
      runner
    ) as unknown as IOracleProtectionManager;
  }
}
