"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.IRewardsManager__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_subgraphDeploymentID",
                type: "bytes32"
            },
        ],
        name: "getAccRewardsForSubgraph",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_subgraphDeploymentID",
                type: "bytes32"
            },
        ],
        name: "getAccRewardsPerAllocatedToken",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "getAccRewardsPerSignal",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "getNewRewardsPerSignal",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_allocationID",
                type: "address"
            },
        ],
        name: "getRewards",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_subgraphDeploymentID",
                type: "bytes32"
            },
        ],
        name: "isDenied",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_subgraphDeploymentID",
                type: "bytes32"
            },
        ],
        name: "onSubgraphAllocationUpdate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_subgraphDeploymentID",
                type: "bytes32"
            },
        ],
        name: "onSubgraphSignalUpdate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_subgraphDeploymentID",
                type: "bytes32"
            },
            {
                internalType: "bool",
                name: "_deny",
                type: "bool"
            },
        ],
        name: "setDenied",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32[]",
                name: "_subgraphDeploymentID",
                type: "bytes32[]"
            },
            {
                internalType: "bool[]",
                name: "_deny",
                type: "bool[]"
            },
        ],
        name: "setDeniedMany",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_issuanceRate",
                type: "uint256"
            },
        ],
        name: "setIssuanceRate",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_subgraphAvailabilityOracle",
                type: "address"
            },
        ],
        name: "setSubgraphAvailabilityOracle",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_allocationID",
                type: "address"
            },
        ],
        name: "takeRewards",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "updateAccRewardsPerSignal",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
];
var IRewardsManager__factory = /** @class */ (function () {
    function IRewardsManager__factory() {
    }
    IRewardsManager__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    IRewardsManager__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    IRewardsManager__factory.abi = _abi;
    return IRewardsManager__factory;
}());
exports.IRewardsManager__factory = IRewardsManager__factory;
