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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  ITokenGateway,
  ITokenGatewayInterface,
} from "../../../../../@graphprotocol/contracts/contracts/arbitrum/ITokenGateway";

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "l1ERC20",
        type: "address",
      },
    ],
    name: "calculateL2TokenAddress",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "token",
        type: "address",
      },
      {
        internalType: "address",
        name: "from",
        type: "address",
      },
      {
        internalType: "address",
        name: "to",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "amount",
        type: "uint256",
      },
      {
        internalType: "bytes",
        name: "data",
        type: "bytes",
      },
    ],
    name: "finalizeInboundTransfer",
    outputs: [],
    stateMutability: "payable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "token",
        type: "address",
      },
      {
        internalType: "address",
        name: "to",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "amunt",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "maxas",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "gasPiceBid",
        type: "uint256",
      },
      {
        internalType: "bytes",
        name: "data",
        type: "bytes",
      },
    ],
    name: "outboundTransfer",
    outputs: [
      {
        internalType: "bytes",
        name: "",
        type: "bytes",
      },
    ],
    stateMutability: "payable",
    type: "function",
  },
] as const;

export class ITokenGateway__factory {
  static readonly abi = _abi;
  static createInterface(): ITokenGatewayInterface {
    return new Interface(_abi) as ITokenGatewayInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null
  ): ITokenGateway {
    return new Contract(address, _abi, runner) as unknown as ITokenGateway;
  }
}
