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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  IMessageProvider,
  IMessageProviderInterface,
} from "../../../../contracts/contracts/arbitrum/IMessageProvider";

const _abi = [
  {
    anonymous: false,
    inputs: [
      {
        indexed: true,
        internalType: "uint256",
        name: "messageNum",
        type: "uint256",
      },
      {
        indexed: false,
        internalType: "bytes",
        name: "data",
        type: "bytes",
      },
    ],
    name: "InboxMessageDelivered",
    type: "event",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: true,
        internalType: "uint256",
        name: "messageNum",
        type: "uint256",
      },
    ],
    name: "InboxMessageDeliveredFromOrigin",
    type: "event",
  },
] as const;

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