"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IRewardVault__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [],
        name: "AmountLessThanMinIncentiveRate",
        type: "error",
    },
    {
        inputs: [],
        name: "CannotRecoverIncentiveToken",
        type: "error",
    },
    {
        inputs: [],
        name: "CannotRecoverRewardToken",
        type: "error",
    },
    {
        inputs: [],
        name: "CannotRecoverStakingToken",
        type: "error",
    },
    {
        inputs: [],
        name: "DepositNotMultipleOfGwei",
        type: "error",
    },
    {
        inputs: [],
        name: "DepositValueTooHigh",
        type: "error",
    },
    {
        inputs: [],
        name: "DonateAmountLessThanPayoutAmount",
        type: "error",
    },
    {
        inputs: [],
        name: "IncentiveRateTooHigh",
        type: "error",
    },
    {
        inputs: [],
        name: "IndexOutOfRange",
        type: "error",
    },
    {
        inputs: [],
        name: "InsolventReward",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientDelegateStake",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientDeposit",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientSelfStake",
        type: "error",
    },
    {
        inputs: [],
        name: "InsufficientStake",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidActivateBoostDelay",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidBaseRate",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidBoostMultiplier",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidCredentialsLength",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidDropBoostDelay",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidMaxIncentiveTokensCount",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidMinBoostedRewardRate",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidProof",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidPubKeyLength",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidRewardAllocationWeights",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidRewardConvexity",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidRewardRate",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidSignatureLength",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidStartBlock",
        type: "error",
    },
    {
        inputs: [],
        name: "InvalidateDefaultRewardAllocation",
        type: "error",
    },
    {
        inputs: [],
        name: "InvariantCheckFailed",
        type: "error",
    },
    {
        inputs: [],
        name: "MaxNumWeightsPerRewardAllocationIsZero",
        type: "error",
    },
    {
        inputs: [],
        name: "MinIncentiveRateIsZero",
        type: "error",
    },
    {
        inputs: [],
        name: "NotAContract",
        type: "error",
    },
    {
        inputs: [],
        name: "NotApprovedSender",
        type: "error",
    },
    {
        inputs: [],
        name: "NotBGT",
        type: "error",
    },
    {
        inputs: [],
        name: "NotBlockRewardController",
        type: "error",
    },
    {
        inputs: [],
        name: "NotDelegate",
        type: "error",
    },
    {
        inputs: [],
        name: "NotDistributor",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEnoughBalance",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEnoughBoostedBalance",
        type: "error",
    },
    {
        inputs: [],
        name: "NotEnoughTime",
        type: "error",
    },
    {
        inputs: [],
        name: "NotFactoryVault",
        type: "error",
    },
    {
        inputs: [],
        name: "NotFeeCollector",
        type: "error",
    },
    {
        inputs: [],
        name: "NotIncentiveManager",
        type: "error",
    },
    {
        inputs: [],
        name: "NotNewOperator",
        type: "error",
    },
    {
        inputs: [],
        name: "NotOperator",
        type: "error",
    },
    {
        inputs: [],
        name: "NotWhitelistedVault",
        type: "error",
    },
    {
        inputs: [],
        name: "OperatorAlreadySet",
        type: "error",
    },
    {
        inputs: [],
        name: "PayoutAmountIsZero",
        type: "error",
    },
    {
        inputs: [],
        name: "RewardAllocationAlreadyQueued",
        type: "error",
    },
    {
        inputs: [],
        name: "RewardAllocationBlockDelayTooLarge",
        type: "error",
    },
    {
        inputs: [],
        name: "RewardCycleNotEnded",
        type: "error",
    },
    {
        inputs: [],
        name: "RewardsDurationIsZero",
        type: "error",
    },
    {
        inputs: [],
        name: "StakeAmountIsZero",
        type: "error",
    },
    {
        inputs: [],
        name: "TimestampAlreadyProcessed",
        type: "error",
    },
    {
        inputs: [],
        name: "TokenAlreadyWhitelistedOrLimitReached",
        type: "error",
    },
    {
        inputs: [],
        name: "TokenNotWhitelisted",
        type: "error",
    },
    {
        inputs: [],
        name: "TooManyWeights",
        type: "error",
    },
    {
        inputs: [],
        name: "TotalSupplyOverflow",
        type: "error",
    },
    {
        inputs: [],
        name: "WithdrawAmountIsZero",
        type: "error",
    },
    {
        inputs: [],
        name: "ZeroAddress",
        type: "error",
    },
    {
        inputs: [],
        name: "ZeroOperatorOnFirstDeposit",
        type: "error",
    },
    {
        inputs: [],
        name: "ZeroPercentageWeight",
        type: "error",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "delegate",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "DelegateStaked",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "delegate",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "DelegateWithdrawn",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "distributor",
                type: "address",
            },
        ],
        name: "DistributorSet",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "sender",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "incentiveRate",
                type: "uint256",
            },
        ],
        name: "IncentiveAdded",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "newManager",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "oldManager",
                type: "address",
            },
        ],
        name: "IncentiveManagerChanged",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "token",
                type: "address",
            },
        ],
        name: "IncentiveTokenRemoved",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "minIncentiveRate",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "address",
                name: "manager",
                type: "address",
            },
        ],
        name: "IncentiveTokenWhitelisted",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes",
                name: "pubkey",
                type: "bytes",
            },
            {
                indexed: true,
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "bgtEmitted",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "IncentivesProcessFailed",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes",
                name: "pubkey",
                type: "bytes",
            },
            {
                indexed: true,
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "bgtEmitted",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "IncentivesProcessed",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint8",
                name: "maxIncentiveTokensCount",
                type: "uint8",
            },
        ],
        name: "MaxIncentiveTokensCountUpdated",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "operator",
                type: "address",
            },
        ],
        name: "OperatorSet",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "Recovered",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "reward",
                type: "uint256",
            },
        ],
        name: "RewardAdded",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "to",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "reward",
                type: "uint256",
            },
        ],
        name: "RewardPaid",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "newDuration",
                type: "uint256",
            },
        ],
        name: "RewardsDurationUpdated",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "Staked",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "Withdrawn",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "incentiveRate",
                type: "uint256",
            },
        ],
        name: "addIncentive",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "balanceOf",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "delegateStake",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "delegateWithdraw",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "distributor",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "earned",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "recipient",
                type: "address",
            },
        ],
        name: "exit",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                internalType: "address",
                name: "delegate",
                type: "address",
            },
        ],
        name: "getDelegateStake",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
            {
                internalType: "address",
                name: "recipient",
                type: "address",
            },
        ],
        name: "getReward",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "getRewardForDuration",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "getTotalDelegateStaked",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "getWhitelistedTokens",
        outputs: [
            {
                internalType: "address[]",
                name: "",
                type: "address[]",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "getWhitelistedTokensCount",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_berachef",
                type: "address",
            },
            {
                internalType: "address",
                name: "_bgt",
                type: "address",
            },
            {
                internalType: "address",
                name: "_distributor",
                type: "address",
            },
            {
                internalType: "address",
                name: "_stakingToken",
                type: "address",
            },
        ],
        name: "initialize",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "lastTimeRewardApplicable",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "lastUpdateTime",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes",
                name: "pubkey",
                type: "bytes",
            },
            {
                internalType: "uint256",
                name: "reward",
                type: "uint256",
            },
        ],
        name: "notifyRewardAmount",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "operator",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "pause",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "periodFinish",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "tokenAddress",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "tokenAmount",
                type: "uint256",
            },
        ],
        name: "recoverERC20",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
        ],
        name: "removeIncentiveToken",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "rewardPerToken",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "rewardPerTokenStored",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "rewardRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "rewards",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "rewardsDuration",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_rewardDistribution",
                type: "address",
            },
        ],
        name: "setDistributor",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint8",
                name: "_maxIncentiveTokensCount",
                type: "uint8",
            },
        ],
        name: "setMaxIncentiveTokensCount",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_operator",
                type: "address",
            },
        ],
        name: "setOperator",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_rewardsDuration",
                type: "uint256",
            },
        ],
        name: "setRewardsDuration",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "stake",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "totalSupply",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "undistributedRewards",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "unpause",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "address",
                name: "newManager",
                type: "address",
            },
        ],
        name: "updateIncentiveManager",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address",
            },
        ],
        name: "userRewardPerTokenPaid",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "minIncentiveRate",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "manager",
                type: "address",
            },
        ],
        name: "whitelistIncentiveToken",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "withdraw",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
class IRewardVault__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.IRewardVault__factory = IRewardVault__factory;
IRewardVault__factory.abi = _abi;
//# sourceMappingURL=IRewardVault__factory.js.map