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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  IL2GasPriceOracle,
  IL2GasPriceOracleInterface,
} from "../IL2GasPriceOracle";

const _abi = [
  {
    type: "function",
    name: "calculateIntrinsicGasFee",
    inputs: [
      {
        name: "_message",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "estimateCrossDomainMessageFee",
    inputs: [
      {
        name: "_gasLimit",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
] as const;

export class IL2GasPriceOracle__factory {
  static readonly abi = _abi;
  static createInterface(): IL2GasPriceOracleInterface {
    return new utils.Interface(_abi) as IL2GasPriceOracleInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): IL2GasPriceOracle {
    return new Contract(address, _abi, signerOrProvider) as IL2GasPriceOracle;
  }
}
