"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AladdinConcentratorVest__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "_token",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "_recipient",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_index",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_unvested",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_cancleTime",
                type: "uint256",
            },
        ],
        name: "Cancle",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "_recipient",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_amount",
                type: "uint256",
            },
        ],
        name: "Claim",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "previousOwner",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "OwnershipTransferred",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "_recipient",
                type: "address",
            },
            {
                indexed: true,
                internalType: "uint256",
                name: "_index",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_amount",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_startTime",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_endTime",
                type: "uint256",
            },
        ],
        name: "Vest",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_user",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_index",
                type: "uint256",
            },
        ],
        name: "cancle",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "claim",
        outputs: [
            {
                internalType: "uint256",
                name: "_claimable",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_recipient",
                type: "address",
            },
        ],
        name: "getUserVest",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint128",
                        name: "vestingAmount",
                        type: "uint128",
                    },
                    {
                        internalType: "uint128",
                        name: "claimedAmount",
                        type: "uint128",
                    },
                    {
                        internalType: "uint64",
                        name: "startTime",
                        type: "uint64",
                    },
                    {
                        internalType: "uint64",
                        name: "endTime",
                        type: "uint64",
                    },
                    {
                        internalType: "uint64",
                        name: "cancleTime",
                        type: "uint64",
                    },
                ],
                internalType: "struct Vesting.VestState[]",
                name: "",
                type: "tuple[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        name: "isWhitelist",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_recipient",
                type: "address",
            },
        ],
        name: "locked",
        outputs: [
            {
                internalType: "uint256",
                name: "_unvested",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_recipient",
                type: "address",
            },
            {
                internalType: "uint128",
                name: "_amount",
                type: "uint128",
            },
            {
                internalType: "uint64",
                name: "_startTime",
                type: "uint64",
            },
            {
                internalType: "uint64",
                name: "_endTime",
                type: "uint64",
            },
        ],
        name: "newVesting",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "owner",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "renounceOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "token",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "transferOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address[]",
                name: "_accounts",
                type: "address[]",
            },
            {
                internalType: "bool",
                name: "_status",
                type: "bool",
            },
        ],
        name: "updateWhitelist",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_recipient",
                type: "address",
            },
        ],
        name: "vested",
        outputs: [
            {
                internalType: "uint256",
                name: "_vested",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        name: "vesting",
        outputs: [
            {
                internalType: "uint128",
                name: "vestingAmount",
                type: "uint128",
            },
            {
                internalType: "uint128",
                name: "claimedAmount",
                type: "uint128",
            },
            {
                internalType: "uint64",
                name: "startTime",
                type: "uint64",
            },
            {
                internalType: "uint64",
                name: "endTime",
                type: "uint64",
            },
            {
                internalType: "uint64",
                name: "cancleTime",
                type: "uint64",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
class AladdinConcentratorVest__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.AladdinConcentratorVest__factory = AladdinConcentratorVest__factory;
AladdinConcentratorVest__factory.abi = _abi;
//# sourceMappingURL=AladdinConcentratorVest__factory.js.map