/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, utils } from "ethers";
var _abi = [
    {
        type: "constructor",
        inputs: [
            {
                name: "_signer",
                type: "address",
                internalType: "address",
            },
            {
                name: "_spokePool",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "accountsActivated",
        inputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bool",
                internalType: "bool",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "addSupportedToken",
        inputs: [
            {
                name: "evmAddress",
                type: "address",
                internalType: "address",
            },
            {
                name: "tokenId",
                type: "uint64",
                internalType: "uint64",
            },
            {
                name: "activationFeeEvm",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "decimalDiff",
                type: "int8",
                internalType: "int8",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "depositToHypercore",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "user",
                type: "address",
                internalType: "address",
            },
            {
                name: "signature",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "donationBox",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract DonationBox",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "handleV3AcrossMessage",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "",
                type: "address",
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "owner",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "renounceOwnership",
        inputs: [],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setSigner",
        inputs: [
            {
                name: "_signer",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setSpokePool",
        inputs: [
            {
                name: "_spokePool",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "signer",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "spokePool",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "supportedTokens",
        inputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "evmAddress",
                type: "address",
                internalType: "address",
            },
            {
                name: "tokenId",
                type: "uint64",
                internalType: "uint64",
            },
            {
                name: "activationFeeEvm",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "decimalDiff",
                type: "int8",
                internalType: "int8",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "sweepCoreFundsToUser",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "coreAmount",
                type: "uint64",
                internalType: "uint64",
            },
            {
                name: "user",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "sweepDonationBoxFundsToUser",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "user",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "sweepERC20ToUser",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "evmAmount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "user",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "transferOwnership",
        inputs: [
            {
                name: "newOwner",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "event",
        name: "AddedSupportedToken",
        inputs: [
            {
                name: "evmAddress",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "tokenId",
                type: "uint64",
                indexed: false,
                internalType: "uint64",
            },
            {
                name: "activationFeeEvm",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "decimalDiff",
                type: "int8",
                indexed: false,
                internalType: "int8",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "OwnershipTransferred",
        inputs: [
            {
                name: "previousOwner",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "newOwner",
                type: "address",
                indexed: true,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "SignerSet",
        inputs: [
            {
                name: "signer",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "SpokePoolSet",
        inputs: [
            {
                name: "spokePool",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "UserAccountActivated",
        inputs: [
            {
                name: "user",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "token",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "amountRequiredToActivate",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
    {
        type: "error",
        name: "AccountAlreadyActivated",
        inputs: [],
    },
    {
        type: "error",
        name: "CoreUserExistsPrecompileCallFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "InsufficientEvmAmountForActivation",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidSignature",
        inputs: [],
    },
    {
        type: "error",
        name: "NotSpokePool",
        inputs: [],
    },
    {
        type: "error",
        name: "TokenNotSupported",
        inputs: [],
    },
];
var HyperliquidDepositHandler__factory = /** @class */ (function () {
    function HyperliquidDepositHandler__factory() {
    }
    HyperliquidDepositHandler__factory.createInterface = function () {
        return new utils.Interface(_abi);
    };
    HyperliquidDepositHandler__factory.connect = function (address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    };
    HyperliquidDepositHandler__factory.abi = _abi;
    return HyperliquidDepositHandler__factory;
}());
export { HyperliquidDepositHandler__factory };
//# sourceMappingURL=HyperliquidDepositHandler__factory.js.map