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

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

const _abi = [
  {
    type: "function",
    name: "bridgeERC20To",
    inputs: [
      {
        name: "_localToken",
        type: "address",
        internalType: "address",
      },
      {
        name: "_remoteToken",
        type: "address",
        internalType: "address",
      },
      {
        name: "_to",
        type: "address",
        internalType: "address",
      },
      {
        name: "_amount",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "_minGasLimit",
        type: "uint32",
        internalType: "uint32",
      },
      {
        name: "_extraData",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
] as const;

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