Skip to content

Commit 22a8e5a

Browse files
f: comment on expectedTokens
1 parent b028a7e commit 22a8e5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/subgraph-service/contracts/libraries/IndexingAgreement.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,8 @@ library IndexingAgreement {
527527
? 0
528528
: _tokensToCollect(self, params.agreementId, wrapper.collectorAgreement, data.entities);
529529

530+
// `tokensCollected` <= `expectedTokens` because the recurring collector will further narrow
531+
// down the tokens allowed, based on the RCA terms.
530532
uint256 tokensCollected = _directory().recurringCollector().collect(
531533
IGraphPayments.PaymentTypes.IndexingFee,
532534
abi.encode(

0 commit comments

Comments
 (0)