@@ -556,7 +556,7 @@ contract DisputeManager is
556
556
557
557
/**
558
558
* @notice Make the subgraph service contract slash the indexer and reward the fisherman.
559
- * Give the fisherman a reward equal to the fishermanRewardPercentage of slashed amount
559
+ * Give the fisherman a reward equal to the fishermanRewardCut of slashed amount
560
560
* @param _indexer Address of the indexer
561
561
* @param _tokensSlash Amount of tokens to slash from the indexer
562
562
* @param _tokensStakeSnapshot Snapshot of the indexer's stake at the time of the dispute creation
@@ -627,8 +627,8 @@ contract DisputeManager is
627
627
}
628
628
629
629
/**
630
- * @notice Set the percent reward that the fisherman gets when slashing occurs.
631
- * @dev Update the reward percentage to `_percentage `
630
+ * @notice Set the reward cut that the fisherman gets when slashing occurs.
631
+ * @dev Update the reward cut to `_fishermanRewardCut `
632
632
* @param _fishermanRewardCut The fisherman reward cut, in PPM
633
633
*/
634
634
function _setFishermanRewardCut (uint32 _fishermanRewardCut ) private {
@@ -641,8 +641,8 @@ contract DisputeManager is
641
641
}
642
642
643
643
/**
644
- * @notice Set the maximum percentage that can be used for slashing indexers.
645
- * @param _maxSlashingCut Max percentage slashing for disputes , in PPM
644
+ * @notice Set the maximum cut that can be used for slashing indexers.
645
+ * @param _maxSlashingCut Max slashing cut , in PPM
646
646
*/
647
647
function _setMaxSlashingCut (uint32 _maxSlashingCut ) private {
648
648
require (PPMMath.isValidPPM (_maxSlashingCut), DisputeManagerInvalidMaxSlashingCut (_maxSlashingCut));
0 commit comments