"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RocketNodeDeposit__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: 'contract RocketStorageInterface',
                name: '_rocketStorageAddress',
                type: 'address',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'constructor',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: 'from',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'amount',
                type: 'uint256',
            },
            {
                indexed: false,
                internalType: 'uint256',
                name: 'time',
                type: 'uint256',
            },
        ],
        name: 'DepositReceived',
        type: 'event',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_minimumNodeFee',
                type: 'uint256',
            },
            {
                internalType: 'bytes',
                name: '_validatorPubkey',
                type: 'bytes',
            },
            {
                internalType: 'bytes',
                name: '_validatorSignature',
                type: 'bytes',
            },
            {
                internalType: 'bytes32',
                name: '_depositDataRoot',
                type: 'bytes32',
            },
            {
                internalType: 'uint256',
                name: '_salt',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_expectedMinipoolAddress',
                type: 'address',
            },
        ],
        name: 'deposit',
        outputs: [],
        stateMutability: 'payable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '_amount',
                type: 'uint256',
            },
        ],
        name: 'getDepositType',
        outputs: [
            {
                internalType: 'enum MinipoolDeposit',
                name: '',
                type: 'uint8',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'version',
        outputs: [
            {
                internalType: 'uint8',
                name: '',
                type: 'uint8',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
];
class RocketNodeDeposit__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.RocketNodeDeposit__factory = RocketNodeDeposit__factory;
RocketNodeDeposit__factory.abi = _abi;
//# sourceMappingURL=RocketNodeDeposit__factory.js.map