/* Autogenerated file. Do not edit manually. */

/* tslint:disable */

/* eslint-disable */
import type {
  ILayerZeroReceiver,
  ILayerZeroReceiverInterface,
} from "../../../../../../@layerzerolabs/solidity-examples/contracts/lzApp/interfaces/ILayerZeroReceiver";
import type { Provider } from "@ethersproject/providers";
import { Contract, Signer, utils } from "ethers";

const _abi = [
  {
    inputs: [
      {
        internalType: "uint16",
        name: "_srcChainId",
        type: "uint16",
      },
      {
        internalType: "bytes",
        name: "_srcAddress",
        type: "bytes",
      },
      {
        internalType: "uint64",
        name: "_nonce",
        type: "uint64",
      },
      {
        internalType: "bytes",
        name: "_payload",
        type: "bytes",
      },
    ],
    name: "lzReceive",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

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