"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FraxGaugeFXSRewardsDistributor__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _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",
    },
];
const _bytecode = " ";
const isSuperArgs = (xs) => xs.length > 1;
class FraxGaugeFXSRewardsDistributor__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    getDeployTransaction(_timelock_address, _curator_address, _reward_token_address, _gauge_controller_address, overrides) {
        return super.getDeployTransaction(_timelock_address, _curator_address, _reward_token_address, _gauge_controller_address, overrides || {});
    }
    deploy(_timelock_address, _curator_address, _reward_token_address, _gauge_controller_address, overrides) {
        return super.deploy(_timelock_address, _curator_address, _reward_token_address, _gauge_controller_address, overrides || {});
    }
    connect(runner) {
        return super.connect(runner);
    }
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.FraxGaugeFXSRewardsDistributor__factory = FraxGaugeFXSRewardsDistributor__factory;
FraxGaugeFXSRewardsDistributor__factory.bytecode = _bytecode;
FraxGaugeFXSRewardsDistributor__factory.abi = _abi;
//# sourceMappingURL=FraxGaugeFXSRewardsDistributor__factory.js.map