{
    "Function": "addToPool",
    "File": "contracts/staking/libs/Rebates.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "SafeMath",
        "SafeMath"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "add",
        "add"
    ],
    "Low-Level Calls": [],
    "Code": "function addToPool(\n        Rebates.Pool storage pool,\n        uint256 _indexerFees,\n        uint256 _indexerEffectiveAllocatedStake\n    ) internal {\n        pool.fees = pool.fees.add(_indexerFees);\n        pool.effectiveAllocatedStake = pool.effectiveAllocatedStake.add(\n            _indexerEffectiveAllocatedStake\n        );\n        pool.unclaimedAllocationsCount += 1;\n    }"
}