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

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

const _abi = [
  {
    type: "function",
    name: "depositForBurn",
    inputs: [
      {
        name: "amount",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "destinationDomain",
        type: "uint32",
        internalType: "uint32",
      },
      {
        name: "mintRecipient",
        type: "bytes32",
        internalType: "bytes32",
      },
      {
        name: "burnToken",
        type: "address",
        internalType: "address",
      },
    ],
    outputs: [
      {
        name: "_nonce",
        type: "uint64",
        internalType: "uint64",
      },
    ],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "localMinter",
    inputs: [],
    outputs: [
      {
        name: "minter",
        type: "address",
        internalType: "contract ITokenMinter",
      },
    ],
    stateMutability: "view",
  },
] as const;

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