"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IRewardsIssuer__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "allocationId",
                type: "address",
            },
        ],
        name: "getAllocationData",
        outputs: [
            {
                internalType: "bool",
                name: "isActive",
                type: "bool",
            },
            {
                internalType: "address",
                name: "indexer",
                type: "address",
            },
            {
                internalType: "bytes32",
                name: "subgraphDeploymentId",
                type: "bytes32",
            },
            {
                internalType: "uint256",
                name: "tokens",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "accRewardsPerAllocatedToken",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "accRewardsPending",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "subgraphDeploymentId",
                type: "bytes32",
            },
        ],
        name: "getSubgraphAllocatedTokens",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
class IRewardsIssuer__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.IRewardsIssuer__factory = IRewardsIssuer__factory;
IRewardsIssuer__factory.abi = _abi;
//# sourceMappingURL=IRewardsIssuer__factory.js.map