"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
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 __());
    };
})();
exports.__esModule = true;
exports.FraxGaugeFXSRewardsDistributor__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "_timelock_address",
                type: "address"
            },
            {
                internalType: "address",
                name: "_curator_address",
                type: "address"
            },
            {
                internalType: "address",
                name: "_reward_token_address",
                type: "address"
            },
            {
                internalType: "address",
                name: "_gauge_controller_address",
                type: "address"
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "bool",
                name: "distibutions_state",
                type: "bool"
            },
        ],
        name: "DistributionsToggled",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "gauge_address",
                type: "address"
            },
            {
                indexed: false,
                internalType: "bool",
                name: "is_middleman",
                type: "bool"
            },
            {
                indexed: false,
                internalType: "bool",
                name: "is_active",
                type: "bool"
            },
        ],
        name: "GaugeStateChanged",
        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: false,
                internalType: "address",
                name: "token",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256"
            },
        ],
        name: "RecoveredERC20",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "gauge_address",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "reward_amount",
                type: "uint256"
            },
        ],
        name: "RewardDistributed",
        type: "event"
    },
    {
        inputs: [],
        name: "curator_address",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "gauge_address",
                type: "address"
            },
        ],
        name: "currentReward",
        outputs: [
            {
                internalType: "uint256",
                name: "reward_amount",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "gauge_address",
                type: "address"
            },
        ],
        name: "distributeReward",
        outputs: [
            {
                internalType: "uint256",
                name: "weeks_elapsed",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "reward_tally",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "distributionsOn",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "gauge_controller",
        outputs: [
            {
                internalType: "contract IFraxGaugeController",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "gauge_whitelist",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "is_middleman",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "last_time_gauge_paid",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "owner",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        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: [],
        name: "renounceOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "reward_token_address",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_new_curator_address",
                type: "address"
            },
        ],
        name: "setCurator",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_gauge_controller_address",
                type: "address"
            },
        ],
        name: "setGaugeController",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_gauge_address",
                type: "address"
            },
            {
                internalType: "bool",
                name: "_is_middleman",
                type: "bool"
            },
            {
                internalType: "bool",
                name: "_is_active",
                type: "bool"
            },
        ],
        name: "setGaugeState",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_new_timelock",
                type: "address"
            },
        ],
        name: "setTimelock",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "timelock_address",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "toggleDistributions",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newOwner",
                type: "address"
            },
        ],
        name: "transferOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
];
var _bytecode = " ";
var FraxGaugeFXSRewardsDistributor__factory = /** @class */ (function (_super) {
    __extends(FraxGaugeFXSRewardsDistributor__factory, _super);
    function FraxGaugeFXSRewardsDistributor__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (args.length === 1) {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        else {
            _this = _super.apply(this, args) || this;
        }
        return _this;
    }
    FraxGaugeFXSRewardsDistributor__factory.prototype.deploy = function (_timelock_address, _curator_address, _reward_token_address, _gauge_controller_address, overrides) {
        return _super.prototype.deploy.call(this, _timelock_address, _curator_address, _reward_token_address, _gauge_controller_address, overrides || {});
    };
    FraxGaugeFXSRewardsDistributor__factory.prototype.getDeployTransaction = function (_timelock_address, _curator_address, _reward_token_address, _gauge_controller_address, overrides) {
        return _super.prototype.getDeployTransaction.call(this, _timelock_address, _curator_address, _reward_token_address, _gauge_controller_address, overrides || {});
    };
    FraxGaugeFXSRewardsDistributor__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    FraxGaugeFXSRewardsDistributor__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    FraxGaugeFXSRewardsDistributor__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    FraxGaugeFXSRewardsDistributor__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    FraxGaugeFXSRewardsDistributor__factory.bytecode = _bytecode;
    FraxGaugeFXSRewardsDistributor__factory.abi = _abi;
    return FraxGaugeFXSRewardsDistributor__factory;
}(ethers_1.ContractFactory));
exports.FraxGaugeFXSRewardsDistributor__factory = FraxGaugeFXSRewardsDistributor__factory;
//# sourceMappingURL=FraxGaugeFXSRewardsDistributor__factory.js.map