"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HubPool__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "contract LpTokenFactoryInterface",
                name: "_lpTokenFactory",
                type: "address",
            },
            {
                internalType: "contract FinderInterface",
                name: "_finder",
                type: "address",
            },
            {
                internalType: "contract WETH9Interface",
                name: "_weth",
                type: "address",
            },
            {
                internalType: "address",
                name: "_timer",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "newBondToken",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newBondAmount",
                type: "uint256",
            },
        ],
        name: "BondSet",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "l2ChainId",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "address",
                name: "adapter",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "spokePool",
                type: "address",
            },
        ],
        name: "CrossChainContractsSet",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes32",
                name: "poolRebalanceRoot",
                type: "bytes32",
            },
            {
                indexed: true,
                internalType: "bytes32",
                name: "relayerRefundRoot",
                type: "bytes32",
            },
            {
                indexed: false,
                internalType: "bytes32",
                name: "slowRelayRoot",
                type: "bytes32",
            },
            {
                indexed: true,
                internalType: "address",
                name: "proposer",
                type: "address",
            },
        ],
        name: "EmergencyRootBundleDeleted",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "bytes32",
                name: "newIdentifier",
                type: "bytes32",
            },
        ],
        name: "IdentifierSet",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "lpToken",
                type: "address",
            },
        ],
        name: "L1TokenEnabledForLiquidityProvision",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "lpToken",
                type: "address",
            },
        ],
        name: "L2TokenDisabledForLiquidityProvision",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "lpTokensMinted",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "address",
                name: "liquidityProvider",
                type: "address",
            },
        ],
        name: "LiquidityAdded",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "lpTokensBurnt",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "address",
                name: "liquidityProvider",
                type: "address",
            },
        ],
        name: "LiquidityRemoved",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "newLiveness",
                type: "uint256",
            },
        ],
        name: "LivenessSet",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "previousOwner",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "OwnershipTransferred",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bool",
                name: "isPaused",
                type: "bool",
            },
        ],
        name: "Paused",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint32",
                name: "challengePeriodEndTimestamp",
                type: "uint32",
            },
            {
                indexed: false,
                internalType: "uint8",
                name: "poolRebalanceLeafCount",
                type: "uint8",
            },
            {
                indexed: false,
                internalType: "uint256[]",
                name: "bundleEvaluationBlockNumbers",
                type: "uint256[]",
            },
            {
                indexed: true,
                internalType: "bytes32",
                name: "poolRebalanceRoot",
                type: "bytes32",
            },
            {
                indexed: true,
                internalType: "bytes32",
                name: "relayerRefundRoot",
                type: "bytes32",
            },
            {
                indexed: false,
                internalType: "bytes32",
                name: "slowRelayRoot",
                type: "bytes32",
            },
            {
                indexed: true,
                internalType: "address",
                name: "proposer",
                type: "address",
            },
        ],
        name: "ProposeRootBundle",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "newProtocolFeeCaptureAddress",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "newProtocolFeeCapturePct",
                type: "uint256",
            },
        ],
        name: "ProtocolFeeCaptureSet",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "accumulatedFees",
                type: "uint256",
            },
        ],
        name: "ProtocolFeesCapturedClaimed",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "disputer",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "requestTime",
                type: "uint256",
            },
        ],
        name: "RootBundleCanceled",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "disputer",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "requestTime",
                type: "uint256",
            },
        ],
        name: "RootBundleDisputed",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "groupIndex",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "leafId",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "chainId",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "address[]",
                name: "l1Tokens",
                type: "address[]",
            },
            {
                indexed: false,
                internalType: "uint256[]",
                name: "bundleLpFees",
                type: "uint256[]",
            },
            {
                indexed: false,
                internalType: "int256[]",
                name: "netSendAmounts",
                type: "int256[]",
            },
            {
                indexed: false,
                internalType: "int256[]",
                name: "runningBalances",
                type: "int256[]",
            },
            {
                indexed: true,
                internalType: "address",
                name: "caller",
                type: "address",
            },
        ],
        name: "RootBundleExecuted",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "originChainId",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "destinationChainId",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "address",
                name: "originToken",
                type: "address",
            },
            {
                indexed: false,
                internalType: "bool",
                name: "depositsEnabled",
                type: "bool",
            },
        ],
        name: "SetEnableDepositRoute",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "destinationChainId",
                type: "uint256",
            },
            {
                indexed: true,
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "destinationToken",
                type: "address",
            },
        ],
        name: "SetPoolRebalanceRoute",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint256",
                name: "chainId",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "bytes",
                name: "message",
                type: "bytes",
            },
        ],
        name: "SpokePoolAdminFunctionTriggered",
        type: "event",
    },
    {
        stateMutability: "payable",
        type: "fallback",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "l1TokenAmount",
                type: "uint256",
            },
        ],
        name: "addLiquidity",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
    {
        inputs: [],
        name: "bondAmount",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "bondToken",
        outputs: [
            {
                internalType: "contract IERC20",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
        ],
        name: "claimProtocolFeesCaptured",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        name: "crossChainContracts",
        outputs: [
            {
                internalType: "address",
                name: "adapter",
                type: "address",
            },
            {
                internalType: "address",
                name: "spokePool",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
        ],
        name: "disableL1TokenForLiquidityProvision",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "disputeRootBundle",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "emergencyDeleteProposal",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
        ],
        name: "enableL1TokenForLiquidityProvision",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
        ],
        name: "exchangeRateCurrent",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "chainId",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "groupIndex",
                type: "uint256",
            },
            {
                internalType: "uint256[]",
                name: "bundleLpFees",
                type: "uint256[]",
            },
            {
                internalType: "int256[]",
                name: "netSendAmounts",
                type: "int256[]",
            },
            {
                internalType: "int256[]",
                name: "runningBalances",
                type: "int256[]",
            },
            {
                internalType: "uint8",
                name: "leafId",
                type: "uint8",
            },
            {
                internalType: "address[]",
                name: "l1Tokens",
                type: "address[]",
            },
            {
                internalType: "bytes32[]",
                name: "proof",
                type: "bytes32[]",
            },
        ],
        name: "executeRootBundle",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "finder",
        outputs: [
            {
                internalType: "contract FinderInterface",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "getCurrentTime",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                internalType: "int256",
                name: "haircutAmount",
                type: "int256",
            },
        ],
        name: "haircutReserves",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "identifier",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
        ],
        name: "liquidityUtilizationCurrent",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "relayedAmount",
                type: "uint256",
            },
        ],
        name: "liquidityUtilizationPostRelay",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "liveness",
        outputs: [
            {
                internalType: "uint32",
                name: "",
                type: "uint32",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "loadEthForL2Calls",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
    {
        inputs: [],
        name: "lpFeeRatePerSecond",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "lpTokenFactory",
        outputs: [
            {
                internalType: "contract LpTokenFactoryInterface",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes[]",
                name: "data",
                type: "bytes[]",
            },
        ],
        name: "multicall",
        outputs: [
            {
                internalType: "bytes[]",
                name: "results",
                type: "bytes[]",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "owner",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "paused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "destinationChainId",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
        ],
        name: "poolRebalanceRoute",
        outputs: [
            {
                internalType: "address",
                name: "destinationToken",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        name: "pooledTokens",
        outputs: [
            {
                internalType: "address",
                name: "lpToken",
                type: "address",
            },
            {
                internalType: "bool",
                name: "isEnabled",
                type: "bool",
            },
            {
                internalType: "uint32",
                name: "lastLpFeeUpdate",
                type: "uint32",
            },
            {
                internalType: "int256",
                name: "utilizedReserves",
                type: "int256",
            },
            {
                internalType: "uint256",
                name: "liquidReserves",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "undistributedLpFees",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256[]",
                name: "bundleEvaluationBlockNumbers",
                type: "uint256[]",
            },
            {
                internalType: "uint8",
                name: "poolRebalanceLeafCount",
                type: "uint8",
            },
            {
                internalType: "bytes32",
                name: "poolRebalanceRoot",
                type: "bytes32",
            },
            {
                internalType: "bytes32",
                name: "relayerRefundRoot",
                type: "bytes32",
            },
            {
                internalType: "bytes32",
                name: "slowRelayRoot",
                type: "bytes32",
            },
        ],
        name: "proposeRootBundle",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "protocolFeeCaptureAddress",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "protocolFeeCapturePct",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "chainId",
                type: "uint256",
            },
            {
                internalType: "bytes",
                name: "functionData",
                type: "bytes",
            },
        ],
        name: "relaySpokePoolAdminFunction",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "lpTokenAmount",
                type: "uint256",
            },
            {
                internalType: "bool",
                name: "sendEth",
                type: "bool",
            },
        ],
        name: "removeLiquidity",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "renounceOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "rootBundleProposal",
        outputs: [
            {
                internalType: "bytes32",
                name: "poolRebalanceRoot",
                type: "bytes32",
            },
            {
                internalType: "bytes32",
                name: "relayerRefundRoot",
                type: "bytes32",
            },
            {
                internalType: "bytes32",
                name: "slowRelayRoot",
                type: "bytes32",
            },
            {
                internalType: "uint256",
                name: "claimedBitMap",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "proposer",
                type: "address",
            },
            {
                internalType: "uint8",
                name: "unclaimedPoolRebalanceLeafCount",
                type: "uint8",
            },
            {
                internalType: "uint32",
                name: "challengePeriodEndTimestamp",
                type: "uint32",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IERC20",
                name: "newBondToken",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "newBondAmount",
                type: "uint256",
            },
        ],
        name: "setBond",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "l2ChainId",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "adapter",
                type: "address",
            },
            {
                internalType: "address",
                name: "spokePool",
                type: "address",
            },
        ],
        name: "setCrossChainContracts",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "time",
                type: "uint256",
            },
        ],
        name: "setCurrentTime",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "originChainId",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "destinationChainId",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "originToken",
                type: "address",
            },
            {
                internalType: "bool",
                name: "depositsEnabled",
                type: "bool",
            },
        ],
        name: "setDepositRoute",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "newIdentifier",
                type: "bytes32",
            },
        ],
        name: "setIdentifier",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint32",
                name: "newLiveness",
                type: "uint32",
            },
        ],
        name: "setLiveness",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bool",
                name: "pause",
                type: "bool",
            },
        ],
        name: "setPaused",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "destinationChainId",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                internalType: "address",
                name: "destinationToken",
                type: "address",
            },
        ],
        name: "setPoolRebalanceRoute",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newProtocolFeeCaptureAddress",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "newProtocolFeeCapturePct",
                type: "uint256",
            },
        ],
        name: "setProtocolFeeCapture",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
        ],
        name: "sync",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "timerAddress",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "transferOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        name: "unclaimedAccumulatedProtocolFees",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "weth",
        outputs: [
            {
                internalType: "contract WETH9Interface",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        stateMutability: "payable",
        type: "receive",
    },
];
const _bytecode = " ";
const isSuperArgs = (xs) => xs.length > 1;
class HubPool__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(_lpTokenFactory, _finder, _weth, _timer, overrides) {
        return super.deploy(_lpTokenFactory, _finder, _weth, _timer, overrides || {});
    }
    getDeployTransaction(_lpTokenFactory, _finder, _weth, _timer, overrides) {
        return super.getDeployTransaction(_lpTokenFactory, _finder, _weth, _timer, overrides || {});
    }
    attach(address) {
        return super.attach(address);
    }
    connect(signer) {
        return super.connect(signer);
    }
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.HubPool__factory = HubPool__factory;
HubPool__factory.bytecode = _bytecode;
HubPool__factory.abi = _abi;
