File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,15 @@ import "./IRewardsManager.sol";
17
17
* towards each subgraph. Then each Subgraph can have multiple Indexers Staked on it. Thus, the
18
18
* total rewards for the Subgraph are split up for each Indexer based on much they have Staked on
19
19
* that Subgraph.
20
+ *
21
+ * Note:
22
+ * The contract provides getter functions to query the state of accrued rewards:
23
+ * - getAccRewardsPerSignal
24
+ * - getAccRewardsForSubgraph
25
+ * - getAccRewardsPerAllocatedToken
26
+ * - getRewards
27
+ * These functions may overestimate the actual rewards due to changes in the total supply
28
+ * until the actual takeRewards function is called.
20
29
*/
21
30
contract RewardsManager is RewardsManagerV2Storage , GraphUpgradeable , IRewardsManager {
22
31
using SafeMath for uint256 ;
You can’t perform that action at this time.
0 commit comments