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

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

const _abi = [
  {
    type: "function",
    name: "rootBundleProposal",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "tuple",
        internalType: "struct HubPoolInterface.RootBundle",
        components: [
          {
            name: "poolRebalanceRoot",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "relayerRefundRoot",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "slowRelayRoot",
            type: "bytes32",
            internalType: "bytes32",
          },
          {
            name: "claimedBitMap",
            type: "uint256",
            internalType: "uint256",
          },
          {
            name: "proposer",
            type: "address",
            internalType: "address",
          },
          {
            name: "unclaimedPoolRebalanceLeafCount",
            type: "uint8",
            internalType: "uint8",
          },
          {
            name: "challengePeriodEndTimestamp",
            type: "uint32",
            internalType: "uint32",
          },
        ],
      },
    ],
    stateMutability: "view",
  },
] as const;

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