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

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

const _abi = [
  {
    type: "function",
    name: "receiveMessage",
    inputs: [
      {
        name: "message",
        type: "bytes",
        internalType: "bytes",
      },
      {
        name: "attestation",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [
      {
        name: "success",
        type: "bool",
        internalType: "bool",
      },
    ],
    stateMutability: "nonpayable",
  },
] as const;

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