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

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

const _abi = [
  {
    type: "function",
    name: "calculateL2TokenAddress",
    inputs: [
      {
        name: "_l1Erc20",
        type: "address",
        internalType: "address",
      },
    ],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "address",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "outboundTransfer",
    inputs: [
      {
        name: "_l1Token",
        type: "address",
        internalType: "address",
      },
      {
        name: "_to",
        type: "address",
        internalType: "address",
      },
      {
        name: "_amount",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "_data",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [
      {
        name: "",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    stateMutability: "payable",
  },
] as const;

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