"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Rewards__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [
            {
                internalType: "uint32",
                name: "operator",
                type: "uint32",
            },
        ],
        name: "canRestoreRewardEligibility",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "ineligibleEarnedRewards",
        outputs: [
            {
                internalType: "uint96",
                name: "",
                type: "uint96",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint32",
                name: "operator",
                type: "uint32",
            },
        ],
        name: "isEligibleForRewards",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint32",
                name: "operator",
                type: "uint32",
            },
        ],
        name: "rewardsEligibilityRestorableAt",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
var _bytecode = "0x60a060405234801561001057600080fd5b5042608052608051610240610030600039600061018c01526102406000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80635222580a1461005157806369ba3c3314610097578063a7a7d391146100aa578063be51fb4a146100df575b600080fd5b61008261005f3660046101be565b63ffffffff908116600090815260026020526040902054600160c01b9004161590565b60405190151581526020015b60405180910390f35b6100826100a53660046101be565b610100565b6001546100c2906bffffffffffffffffffffffff1681565b6040516bffffffffffffffffffffffff909116815260200161008e565b6100f26100ed3660046101be565b610114565b60405190815260200161008e565b60004261010c83610114565b111592915050565b63ffffffff8082166000908152600260205260408120549091600160c01b90910416806101875760405162461bcd60e51b815260206004820152601960248201527f4f70657261746f7220616c726561647920656c696769626c6500000000000000604482015260640160405180910390fd5b6101b77f000000000000000000000000000000000000000000000000000000000000000063ffffffff83166101e4565b9392505050565b6000602082840312156101d057600080fd5b813563ffffffff811681146101b757600080fd5b6000821982111561020557634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212205aabb651a78e3a1b1563577cdae60ffb048ef82dcd3896353fef619b4e62e32564736f6c63430008090033";
var isSuperArgs = function (xs) { return xs.length > 1; };
var Rewards__factory = /** @class */ (function (_super) {
    __extends(Rewards__factory, _super);
    function Rewards__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (isSuperArgs(args)) {
            _this = _super.apply(this, args) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    Rewards__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    Rewards__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    Rewards__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    Rewards__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    Rewards__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    Rewards__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    Rewards__factory.bytecode = _bytecode;
    Rewards__factory.abi = _abi;
    return Rewards__factory;
}(ethers_1.ContractFactory));
exports.Rewards__factory = Rewards__factory;
