Skip to content

Commit 792302a

Browse files
committed
chore: fix some copy in dispute manager comments
Signed-off-by: Tomás Migone <[email protected]>
1 parent 9ce4d11 commit 792302a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/subgraph-service/contracts/DisputeManager.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ contract DisputeManager is
556556

557557
/**
558558
* @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
560560
* @param _indexer Address of the indexer
561561
* @param _tokensSlash Amount of tokens to slash from the indexer
562562
* @param _tokensStakeSnapshot Snapshot of the indexer's stake at the time of the dispute creation
@@ -627,8 +627,8 @@ contract DisputeManager is
627627
}
628628

629629
/**
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`
632632
* @param _fishermanRewardCut The fisherman reward cut, in PPM
633633
*/
634634
function _setFishermanRewardCut(uint32 _fishermanRewardCut) private {
@@ -641,8 +641,8 @@ contract DisputeManager is
641641
}
642642

643643
/**
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
646646
*/
647647
function _setMaxSlashingCut(uint32 _maxSlashingCut) private {
648648
require(PPMMath.isValidPPM(_maxSlashingCut), DisputeManagerInvalidMaxSlashingCut(_maxSlashingCut));

0 commit comments

Comments
 (0)