"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.HubPoolInterface__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "addLiquidity",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "l1TokenAmount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "claimProtocolFeesCaptured",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "disableL1TokenForLiquidityProvision",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "disputeRootBundle",
        inputs: [],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "emergencyDeleteProposal",
        inputs: [],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "enableL1TokenForLiquidityProvision",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "exchangeRateCurrent",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "executeRootBundle",
        inputs: [
            {
                name: "chainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "groupIndex",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "bundleLpFees",
                type: "uint256[]",
                internalType: "uint256[]",
            },
            {
                name: "netSendAmounts",
                type: "int256[]",
                internalType: "int256[]",
            },
            {
                name: "runningBalances",
                type: "int256[]",
                internalType: "int256[]",
            },
            {
                name: "leafId",
                type: "uint8",
                internalType: "uint8",
            },
            {
                name: "l1Tokens",
                type: "address[]",
                internalType: "address[]",
            },
            {
                name: "proof",
                type: "bytes32[]",
                internalType: "bytes32[]",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "liquidityUtilizationCurrent",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "liquidityUtilizationPostRelay",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "relayedAmount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "loadEthForL2Calls",
        inputs: [],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "poolRebalanceRoute",
        inputs: [
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "destinationToken",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "proposeRootBundle",
        inputs: [
            {
                name: "bundleEvaluationBlockNumbers",
                type: "uint256[]",
                internalType: "uint256[]",
            },
            {
                name: "poolRebalanceLeafCount",
                type: "uint8",
                internalType: "uint8",
            },
            {
                name: "poolRebalanceRoot",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "relayerRefundRoot",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "slowRelayRoot",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "relaySpokePoolAdminFunction",
        inputs: [
            {
                name: "chainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "functionData",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "removeLiquidity",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "lpTokenAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "sendEth",
                type: "bool",
                internalType: "bool",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setBond",
        inputs: [
            {
                name: "newBondToken",
                type: "address",
                internalType: "contract IERC20",
            },
            {
                name: "newBondAmount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setCrossChainContracts",
        inputs: [
            {
                name: "l2ChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "adapter",
                type: "address",
                internalType: "address",
            },
            {
                name: "spokePool",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setDepositRoute",
        inputs: [
            {
                name: "originChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "originToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "depositsEnabled",
                type: "bool",
                internalType: "bool",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setIdentifier",
        inputs: [
            {
                name: "newIdentifier",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setLiveness",
        inputs: [
            {
                name: "newLiveness",
                type: "uint32",
                internalType: "uint32",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setPaused",
        inputs: [
            {
                name: "pause",
                type: "bool",
                internalType: "bool",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setPoolRebalanceRoute",
        inputs: [
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "destinationToken",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setProtocolFeeCapture",
        inputs: [
            {
                name: "newProtocolFeeCaptureAddress",
                type: "address",
                internalType: "address",
            },
            {
                name: "newProtocolFeeCapturePct",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "sync",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
];
class HubPoolInterface__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.HubPoolInterface__factory = HubPoolInterface__factory;
HubPoolInterface__factory.abi = _abi;
