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

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

const _abi = [
  {
    type: "function",
    name: "bridge",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "address",
        internalType: "contract ArbitrumERC20Bridge",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "createRetryableTicket",
    inputs: [
      {
        name: "to",
        type: "address",
        internalType: "address",
      },
      {
        name: "callValue",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "maxSubmissionCost",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "excessFeeRefundAddress",
        type: "address",
        internalType: "address",
      },
      {
        name: "callValueRefundAddress",
        type: "address",
        internalType: "address",
      },
      {
        name: "gasLimit",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "maxFeePerGas",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "tokenTotalFeeAmount",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "data",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "createRetryableTicket",
    inputs: [
      {
        name: "to",
        type: "address",
        internalType: "address",
      },
      {
        name: "callValue",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "maxSubmissionCost",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "excessFeeRefundAddress",
        type: "address",
        internalType: "address",
      },
      {
        name: "callValueRefundAddress",
        type: "address",
        internalType: "address",
      },
      {
        name: "gasLimit",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "maxFeePerGas",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "data",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "unsafeCreateRetryableTicket",
    inputs: [
      {
        name: "to",
        type: "address",
        internalType: "address",
      },
      {
        name: "callValue",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "maxSubmissionCost",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "excessFeeRefundAddress",
        type: "address",
        internalType: "address",
      },
      {
        name: "callValueRefundAddress",
        type: "address",
        internalType: "address",
      },
      {
        name: "gasLimit",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "maxFeePerGas",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "data",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [
      {
        name: "",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "payable",
  },
] as const;

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