"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ISpokePool__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "chainId",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "claimRelayerRefund",
        inputs: [
            {
                name: "l2TokenAddress",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "refundAddress",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "deposit",
        inputs: [
            {
                name: "depositor",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "recipient",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "inputToken",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "outputToken",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "inputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "exclusiveRelayer",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "quoteTimestamp",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "depositDeprecated_5947912356",
        inputs: [
            {
                name: "recipient",
                type: "address",
                internalType: "address",
            },
            {
                name: "originToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "relayerFeePct",
                type: "int64",
                internalType: "int64",
            },
            {
                name: "quoteTimestamp",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "maxCount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "depositFor",
        inputs: [
            {
                name: "depositor",
                type: "address",
                internalType: "address",
            },
            {
                name: "recipient",
                type: "address",
                internalType: "address",
            },
            {
                name: "originToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "relayerFeePct",
                type: "int64",
                internalType: "int64",
            },
            {
                name: "quoteTimestamp",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "maxCount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "depositNow",
        inputs: [
            {
                name: "depositor",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "recipient",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "inputToken",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "outputToken",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "inputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "exclusiveRelayer",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "fillDeadlineOffset",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "depositV3",
        inputs: [
            {
                name: "depositor",
                type: "address",
                internalType: "address",
            },
            {
                name: "recipient",
                type: "address",
                internalType: "address",
            },
            {
                name: "inputToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "outputToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "inputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "exclusiveRelayer",
                type: "address",
                internalType: "address",
            },
            {
                name: "quoteTimestamp",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "depositV3Now",
        inputs: [
            {
                name: "depositor",
                type: "address",
                internalType: "address",
            },
            {
                name: "recipient",
                type: "address",
                internalType: "address",
            },
            {
                name: "inputToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "outputToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "inputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "exclusiveRelayer",
                type: "address",
                internalType: "address",
            },
            {
                name: "fillDeadlineOffset",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "emergencyDeleteRootBundle",
        inputs: [
            {
                name: "rootBundleId",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "executeRelayerRefundLeaf",
        inputs: [
            {
                name: "rootBundleId",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "relayerRefundLeaf",
                type: "tuple",
                internalType: "struct SpokePoolInterface.RelayerRefundLeaf",
                components: [
                    {
                        name: "amountToReturn",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "chainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "refundAmounts",
                        type: "uint256[]",
                        internalType: "uint256[]",
                    },
                    {
                        name: "leafId",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "l2TokenAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "refundAddresses",
                        type: "address[]",
                        internalType: "address[]",
                    },
                ],
            },
            {
                name: "proof",
                type: "bytes32[]",
                internalType: "bytes32[]",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "executeSlowRelayLeaf",
        inputs: [
            {
                name: "slowFillLeaf",
                type: "tuple",
                internalType: "struct V3SpokePoolInterface.V3SlowFill",
                components: [
                    {
                        name: "relayData",
                        type: "tuple",
                        internalType: "struct V3SpokePoolInterface.V3RelayData",
                        components: [
                            {
                                name: "depositor",
                                type: "bytes32",
                                internalType: "bytes32",
                            },
                            {
                                name: "recipient",
                                type: "bytes32",
                                internalType: "bytes32",
                            },
                            {
                                name: "exclusiveRelayer",
                                type: "bytes32",
                                internalType: "bytes32",
                            },
                            {
                                name: "inputToken",
                                type: "bytes32",
                                internalType: "bytes32",
                            },
                            {
                                name: "outputToken",
                                type: "bytes32",
                                internalType: "bytes32",
                            },
                            {
                                name: "inputAmount",
                                type: "uint256",
                                internalType: "uint256",
                            },
                            {
                                name: "outputAmount",
                                type: "uint256",
                                internalType: "uint256",
                            },
                            {
                                name: "originChainId",
                                type: "uint256",
                                internalType: "uint256",
                            },
                            {
                                name: "depositId",
                                type: "uint256",
                                internalType: "uint256",
                            },
                            {
                                name: "fillDeadline",
                                type: "uint32",
                                internalType: "uint32",
                            },
                            {
                                name: "exclusivityDeadline",
                                type: "uint32",
                                internalType: "uint32",
                            },
                            {
                                name: "message",
                                type: "bytes",
                                internalType: "bytes",
                            },
                        ],
                    },
                    {
                        name: "chainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "updatedOutputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                ],
            },
            {
                name: "rootBundleId",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "proof",
                type: "bytes32[]",
                internalType: "bytes32[]",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "fillRelay",
        inputs: [
            {
                name: "relayData",
                type: "tuple",
                internalType: "struct V3SpokePoolInterface.V3RelayData",
                components: [
                    {
                        name: "depositor",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "recipient",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "exclusiveRelayer",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "inputToken",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "outputToken",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "inputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "outputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "originChainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "depositId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "fillDeadline",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "exclusivityDeadline",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "message",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
            {
                name: "repaymentChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "repaymentAddress",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "fillRelayWithUpdatedDeposit",
        inputs: [
            {
                name: "relayData",
                type: "tuple",
                internalType: "struct V3SpokePoolInterface.V3RelayData",
                components: [
                    {
                        name: "depositor",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "recipient",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "exclusiveRelayer",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "inputToken",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "outputToken",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "inputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "outputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "originChainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "depositId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "fillDeadline",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "exclusivityDeadline",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "message",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
            {
                name: "repaymentChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "repaymentAddress",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "updatedOutputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "updatedRecipient",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "updatedMessage",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "depositorSignature",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "fillV3Relay",
        inputs: [
            {
                name: "relayData",
                type: "tuple",
                internalType: "struct V3SpokePoolInterface.V3RelayDataLegacy",
                components: [
                    {
                        name: "depositor",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "recipient",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "exclusiveRelayer",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "inputToken",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "outputToken",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "inputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "outputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "originChainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "depositId",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "fillDeadline",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "exclusivityDeadline",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "message",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
            {
                name: "repaymentChainId",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "getUnsafeDepositId",
        inputs: [
            {
                name: "msgSender",
                type: "address",
                internalType: "address",
            },
            {
                name: "depositor",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "depositNonce",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "pure",
    },
    {
        type: "function",
        name: "numberOfDeposits",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint32",
                internalType: "uint32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "pauseDeposits",
        inputs: [
            {
                name: "pause",
                type: "bool",
                internalType: "bool",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "pauseFills",
        inputs: [
            {
                name: "pause",
                type: "bool",
                internalType: "bool",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "relayRootBundle",
        inputs: [
            {
                name: "relayerRefundRoot",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "slowRelayRoot",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "requestSlowFill",
        inputs: [
            {
                name: "relayData",
                type: "tuple",
                internalType: "struct V3SpokePoolInterface.V3RelayData",
                components: [
                    {
                        name: "depositor",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "recipient",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "exclusiveRelayer",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "inputToken",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "outputToken",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "inputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "outputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "originChainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "depositId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "fillDeadline",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "exclusivityDeadline",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "message",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setCrossDomainAdmin",
        inputs: [
            {
                name: "newCrossDomainAdmin",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setWithdrawalRecipient",
        inputs: [
            {
                name: "newWithdrawalRecipient",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "speedUpDeposit",
        inputs: [
            {
                name: "depositor",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "depositId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "updatedOutputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "updatedRecipient",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "updatedMessage",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "depositorSignature",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "speedUpV3Deposit",
        inputs: [
            {
                name: "depositor",
                type: "address",
                internalType: "address",
            },
            {
                name: "depositId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "updatedOutputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "updatedRecipient",
                type: "address",
                internalType: "address",
            },
            {
                name: "updatedMessage",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "depositorSignature",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "unsafeDeposit",
        inputs: [
            {
                name: "depositor",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "recipient",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "inputToken",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "outputToken",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "inputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "exclusiveRelayer",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "depositNonce",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "quoteTimestamp",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "exclusivityParameter",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "event",
        name: "ClaimedRelayerRefund",
        inputs: [
            {
                name: "l2TokenAddress",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "refundAddress",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "caller",
                type: "address",
                indexed: true,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "FilledRelay",
        inputs: [
            {
                name: "inputToken",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "outputToken",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "inputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "repaymentChainId",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "originChainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "depositId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusiveRelayer",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "relayer",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "depositor",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "recipient",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "messageHash",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "relayExecutionInfo",
                type: "tuple",
                indexed: false,
                internalType: "struct V3SpokePoolInterface.V3RelayExecutionEventInfo",
                components: [
                    {
                        name: "updatedRecipient",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "updatedMessageHash",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "updatedOutputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "fillType",
                        type: "uint8",
                        internalType: "enum V3SpokePoolInterface.FillType",
                    },
                ],
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "FilledV3Relay",
        inputs: [
            {
                name: "inputToken",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "outputToken",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "inputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "repaymentChainId",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "originChainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "depositId",
                type: "uint32",
                indexed: true,
                internalType: "uint32",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusiveRelayer",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "relayer",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "depositor",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "recipient",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "relayExecutionInfo",
                type: "tuple",
                indexed: false,
                internalType: "struct V3SpokePoolInterface.LegacyV3RelayExecutionEventInfo",
                components: [
                    {
                        name: "updatedRecipient",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "updatedMessage",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "updatedOutputAmount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "fillType",
                        type: "uint8",
                        internalType: "enum V3SpokePoolInterface.FillType",
                    },
                ],
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "FundsDeposited",
        inputs: [
            {
                name: "inputToken",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "outputToken",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "inputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "depositId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "quoteTimestamp",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "depositor",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "recipient",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "exclusiveRelayer",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "RequestedSlowFill",
        inputs: [
            {
                name: "inputToken",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "outputToken",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "inputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "originChainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "depositId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusiveRelayer",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "depositor",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "recipient",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "messageHash",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "RequestedSpeedUpDeposit",
        inputs: [
            {
                name: "updatedOutputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "depositId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "depositor",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "updatedRecipient",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
            {
                name: "updatedMessage",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "depositorSignature",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "RequestedSpeedUpV3Deposit",
        inputs: [
            {
                name: "updatedOutputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "depositId",
                type: "uint32",
                indexed: true,
                internalType: "uint32",
            },
            {
                name: "depositor",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "updatedRecipient",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "updatedMessage",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "depositorSignature",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "RequestedV3SlowFill",
        inputs: [
            {
                name: "inputToken",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "outputToken",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "inputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "originChainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "depositId",
                type: "uint32",
                indexed: true,
                internalType: "uint32",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusiveRelayer",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "depositor",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "recipient",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "V3FundsDeposited",
        inputs: [
            {
                name: "inputToken",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "outputToken",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "inputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "outputAmount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "depositId",
                type: "uint32",
                indexed: true,
                internalType: "uint32",
            },
            {
                name: "quoteTimestamp",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "fillDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "exclusivityDeadline",
                type: "uint32",
                indexed: false,
                internalType: "uint32",
            },
            {
                name: "depositor",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "recipient",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "exclusiveRelayer",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "error",
        name: "ClaimedMerkleLeaf",
        inputs: [],
    },
    {
        type: "error",
        name: "DepositsArePaused",
        inputs: [],
    },
    {
        type: "error",
        name: "DisabledRoute",
        inputs: [],
    },
    {
        type: "error",
        name: "ExpiredFillDeadline",
        inputs: [],
    },
    {
        type: "error",
        name: "ExternalCallExecutionFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "FillsArePaused",
        inputs: [],
    },
    {
        type: "error",
        name: "InsufficientSpokePoolBalanceToExecuteLeaf",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidChainId",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidCrossDomainAdmin",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidDepositorSignature",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidExclusiveRelayer",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidFillDeadline",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidMerkleLeaf",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidMerkleProof",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidOutputToken",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidPayoutAdjustmentPct",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidQuoteTimestamp",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidSlowFillRequest",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidWithdrawalRecipient",
        inputs: [],
    },
    {
        type: "error",
        name: "LowLevelCallFailed",
        inputs: [
            {
                name: "data",
                type: "bytes",
                internalType: "bytes",
            },
        ],
    },
    {
        type: "error",
        name: "MessageTooShort",
        inputs: [],
    },
    {
        type: "error",
        name: "MsgValueDoesNotMatchInputAmount",
        inputs: [],
    },
    {
        type: "error",
        name: "NoRelayerRefundToClaim",
        inputs: [],
    },
    {
        type: "error",
        name: "NoSlowFillsInExclusivityWindow",
        inputs: [],
    },
    {
        type: "error",
        name: "NotEOA",
        inputs: [],
    },
    {
        type: "error",
        name: "NotExclusiveRelayer",
        inputs: [],
    },
    {
        type: "error",
        name: "RelayFilled",
        inputs: [],
    },
    {
        type: "error",
        name: "RemovedFunction",
        inputs: [],
    },
    {
        type: "error",
        name: "WrongERC7683OrderId",
        inputs: [],
    },
    {
        type: "error",
        name: "ZeroAddressTarget",
        inputs: [],
    },
];
class ISpokePool__factory {
    static abi = _abi;
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.ISpokePool__factory = ISpokePool__factory;
//# sourceMappingURL=ISpokePool__factory.js.map