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

import { Contract, Interface, type ContractRunner } from "ethers";
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 readonly interfaceId = "0x00000000" as const;
  static readonly interfaceName = "IMessageProvider" as const;
  static createInterface(): IMessageProviderInterface {
    return new Interface(_abi) as IMessageProviderInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null,
  ): IMessageProvider {
    return new Contract(address, _abi, runner) as unknown as IMessageProvider;
  }
}
