@@ -247,7 +247,7 @@ contract SubgraphService is
247
247
248
248
/**
249
249
* @notice Collects payment for the service provided by the indexer
250
- * Allows collecting different types of payments such as query fees and indexing rewards.
250
+ * Allows collecting different types of payments such as query fees, indexing rewards and indexining fees .
251
251
* It uses Graph Horizon payments protocol to process payments.
252
252
* Reverts if the payment type is not supported.
253
253
* @dev This function is the equivalent of the `collect` function for query fees and the `closeAllocation` function
@@ -261,6 +261,7 @@ contract SubgraphService is
261
261
*
262
262
* For query fees, see {SubgraphService-_collectQueryFees} for more details.
263
263
* For indexing rewards, see {AllocationManager-_collectIndexingRewards} for more details.
264
+ * For indexing fees, see {SubgraphService-_collectIndexingFees} for more details.
264
265
*
265
266
* @param indexer The address of the indexer
266
267
* @param paymentType The type of payment to collect as defined in {IGraphPayments}
@@ -271,6 +272,9 @@ contract SubgraphService is
271
272
* - address `allocationId`: The id of the allocation
272
273
* - bytes32 `poi`: The POI being presented
273
274
* - bytes `poiMetadata`: The metadata associated with the POI. See {AllocationManager-_collectIndexingRewards} for more details.
275
+ * - For indexing fees:
276
+ * - bytes16 `agreementId`: The id of the indexing agreement
277
+ * - bytes `agreementCollectionMetadata`: The metadata required by the indexing agreement version.
274
278
*/
275
279
/// @inheritdoc IDataService
276
280
function collect (
0 commit comments