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

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

const _abi = [
  {
    type: "function",
    name: "sendMessage",
    inputs: [
      {
        name: "destinationDomain",
        type: "uint32",
        internalType: "uint32",
      },
      {
        name: "recipient",
        type: "bytes32",
        internalType: "bytes32",
      },
      {
        name: "messageBody",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    stateMutability: "nonpayable",
  },
] as const;

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