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

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

const _abi = [
  {
    type: "function",
    name: "handleV3AcrossMessage",
    inputs: [
      {
        name: "tokenSent",
        type: "address",
        internalType: "address",
      },
      {
        name: "amount",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "relayer",
        type: "address",
        internalType: "address",
      },
      {
        name: "message",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
] as const;

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