"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IHyperCoreFlowExecutor__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [],
        name: "ONEX1e8",
        outputs: [
            {
                internalType: "uint64",
                name: "",
                type: "uint64",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "PPM_DECIMALS",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "PPM_SCALAR",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "PX_D",
        outputs: [
            {
                internalType: "uint8",
                name: "",
                type: "uint8",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "quoteNonce",
                type: "bytes32",
            },
            {
                internalType: "address",
                name: "finalRecipient",
                type: "address",
            },
            {
                internalType: "address",
                name: "fundingToken",
                type: "address",
            },
        ],
        name: "activateUserAccount",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "baseToken",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "finalToken",
                type: "address",
            },
            {
                internalType: "uint128",
                name: "cloid",
                type: "uint128",
            },
        ],
        name: "cancelLimitOrderByCloid",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "donationBox",
        outputs: [
            {
                internalType: "contract DonationBox",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "amountInEVM",
                        type: "uint256",
                    },
                    {
                        internalType: "bytes32",
                        name: "quoteNonce",
                        type: "bytes32",
                    },
                    {
                        internalType: "address",
                        name: "finalRecipient",
                        type: "address",
                    },
                    {
                        internalType: "address",
                        name: "finalToken",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "maxBpsToSponsor",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "extraFeesIncurred",
                        type: "uint256",
                    },
                ],
                internalType: "struct CommonFlowParams",
                name: "params",
                type: "tuple",
            },
            {
                internalType: "uint256",
                name: "maxUserSlippageBps",
                type: "uint256",
            },
        ],
        name: "executeFlow",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "amountInEVM",
                        type: "uint256",
                    },
                    {
                        internalType: "bytes32",
                        name: "quoteNonce",
                        type: "bytes32",
                    },
                    {
                        internalType: "address",
                        name: "finalRecipient",
                        type: "address",
                    },
                    {
                        internalType: "address",
                        name: "finalToken",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "maxBpsToSponsor",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "extraFeesIncurred",
                        type: "uint256",
                    },
                ],
                internalType: "struct CommonFlowParams",
                name: "params",
                type: "tuple",
            },
        ],
        name: "executeSimpleTransferFlow",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "amountInEVM",
                        type: "uint256",
                    },
                    {
                        internalType: "bytes32",
                        name: "quoteNonce",
                        type: "bytes32",
                    },
                    {
                        internalType: "address",
                        name: "finalRecipient",
                        type: "address",
                    },
                    {
                        internalType: "address",
                        name: "finalToken",
                        type: "address",
                    },
                    {
                        internalType: "uint256",
                        name: "maxBpsToSponsor",
                        type: "uint256",
                    },
                    {
                        internalType: "uint256",
                        name: "extraFeesIncurred",
                        type: "uint256",
                    },
                ],
                internalType: "struct CommonFlowParams",
                name: "params",
                type: "tuple",
            },
        ],
        name: "fallbackHyperEVMFlow",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "finalToken",
                type: "address",
            },
            {
                internalType: "bytes32[]",
                name: "quoteNonces",
                type: "bytes32[]",
            },
            {
                internalType: "uint64[]",
                name: "limitOrderOuts",
                type: "uint64[]",
            },
        ],
        name: "finalizeSwapFlows",
        outputs: [
            {
                internalType: "uint256",
                name: "finalized",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "finalToken",
                type: "address",
            },
        ],
        name: "predictSwapHandler",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "sendSponsorshipFundsToSwapHandler",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint32",
                name: "coreIndex",
                type: "uint32",
            },
            {
                internalType: "bool",
                name: "canBeUsedForAccountActivation",
                type: "bool",
            },
            {
                internalType: "uint64",
                name: "accountActivationFeeCore",
                type: "uint64",
            },
            {
                internalType: "uint64",
                name: "bridgeSafetyBufferCore",
                type: "uint64",
            },
        ],
        name: "setCoreTokenInfo",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "finalToken",
                type: "address",
            },
            {
                internalType: "uint32",
                name: "assetIndex",
                type: "uint32",
            },
            {
                internalType: "bool",
                name: "isBuy",
                type: "bool",
            },
            {
                internalType: "uint32",
                name: "feePpm",
                type: "uint32",
            },
            {
                internalType: "uint32",
                name: "suggestedDiscountBps",
                type: "uint32",
            },
            {
                internalType: "address",
                name: "accountActivationFeeToken",
                type: "address",
            },
        ],
        name: "setFinalTokenInfo",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "finalToken",
                type: "address",
            },
            {
                internalType: "uint64",
                name: "priceX1e8",
                type: "uint64",
            },
            {
                internalType: "uint64",
                name: "sizeX1e8",
                type: "uint64",
            },
            {
                internalType: "uint128",
                name: "cloid",
                type: "uint128",
            },
        ],
        name: "submitLimitOrderFromBot",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "sweepERC20FromSwapHandler",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "sweepErc20",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "sweepErc20FromDonationBox",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint64",
                name: "amount",
                type: "uint64",
            },
        ],
        name: "sweepOnCore",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint64",
                name: "amount",
                type: "uint64",
            },
        ],
        name: "sweepOnCoreFromSwapHandler",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
class IHyperCoreFlowExecutor__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.IHyperCoreFlowExecutor__factory = IHyperCoreFlowExecutor__factory;
IHyperCoreFlowExecutor__factory.abi = _abi;
