@@ -116,17 +116,7 @@ contract SlashingRegistryCoordinator is
116
116
m2QuorumsDisabled = true ;
117
117
}
118
118
119
- /**
120
- * @notice Creates a quorum and initializes it in each registry contract
121
- * @param operatorSetParams configures the quorum's max operator count and churn parameters
122
- * @param minimumStake sets the minimum stake required for an operator to register or remain
123
- * registered
124
- * @param strategyParams a list of strategies and multipliers used by the StakeRegistry to
125
- * calculate an operator's stake weight for the quorum
126
- * @dev For m2 AVS this function has the same behavior as createQuorum before
127
- * For migrated AVS that enable operator sets this will create a quorum that measures total delegated stake for operator set
128
- *
129
- */
119
+ /// @inheritdoc ISlashingRegistryCoordinator
130
120
function createTotalDelegatedStakeQuorum (
131
121
OperatorSetParam memory operatorSetParams ,
132
122
uint96 minimumStake ,
@@ -141,6 +131,7 @@ contract SlashingRegistryCoordinator is
141
131
);
142
132
}
143
133
134
+ /// @inheritdoc ISlashingRegistryCoordinator
144
135
function createSlashableStakeQuorum (
145
136
OperatorSetParam memory operatorSetParams ,
146
137
uint96 minimumStake ,
@@ -157,6 +148,7 @@ contract SlashingRegistryCoordinator is
157
148
);
158
149
}
159
150
151
+ /// @inheritdoc ISlashingRegistryCoordinator
160
152
function registerOperator (
161
153
address operator ,
162
154
uint32 [] memory operatorSetIds ,
@@ -238,6 +230,7 @@ contract SlashingRegistryCoordinator is
238
230
}
239
231
}
240
232
233
+ /// @inheritdoc ISlashingRegistryCoordinator
241
234
function deregisterOperator (
242
235
address operator ,
243
236
uint32 [] memory operatorSetIds
@@ -247,12 +240,7 @@ contract SlashingRegistryCoordinator is
247
240
_deregisterOperator (operator, quorumNumbers);
248
241
}
249
242
250
- /**
251
- * @notice Updates the StakeRegistry's view of one or more operators' stakes. If any operator
252
- * is found to be below the minimum stake for the quorum, they are deregistered.
253
- * @dev stakes are queried from the Eigenlayer core DelegationManager contract
254
- * @param operators a list of operator addresses to update
255
- */
243
+ /// @inheritdoc ISlashingRegistryCoordinator
256
244
function updateOperators (
257
245
address [] memory operators
258
246
) external onlyWhenNotPaused (PAUSED_UPDATE_OPERATOR) {
@@ -268,20 +256,7 @@ contract SlashingRegistryCoordinator is
268
256
}
269
257
}
270
258
271
- /**
272
- * @notice For each quorum in `quorumNumbers`, updates the StakeRegistry's view of ALL its registered operators' stakes.
273
- * Each quorum's `quorumUpdateBlockNumber` is also updated, which tracks the most recent block number when ALL registered
274
- * operators were updated.
275
- * @dev stakes are queried from the Eigenlayer core DelegationManager contract
276
- * @param operatorsPerQuorum for each quorum in `quorumNumbers`, this has a corresponding list of operators to update.
277
- * @dev Each list of operator addresses MUST be sorted in ascending order
278
- * @dev Each list of operator addresses MUST represent the entire list of registered operators for the corresponding quorum
279
- * @param quorumNumbers is an ordered byte array containing the quorum numbers being updated
280
- * @dev invariant: Each list of `operatorsPerQuorum` MUST be a sorted version of `IndexRegistry.getOperatorListAtBlockNumber`
281
- * for the corresponding quorum.
282
- * @dev note on race condition: if an operator registers/deregisters for any quorum in `quorumNumbers` after a txn to
283
- * this method is broadcast (but before it is executed), the method will fail
284
- */
259
+ /// @inheritdoc ISlashingRegistryCoordinator
285
260
function updateOperatorsForQuorum (
286
261
address [][] memory operatorsPerQuorum ,
287
262
bytes calldata quorumNumbers
@@ -336,10 +311,7 @@ contract SlashingRegistryCoordinator is
336
311
}
337
312
}
338
313
339
- /**
340
- * @notice Updates the socket of the msg.sender given they are a registered operator
341
- * @param socket is the new socket of the operator
342
- */
314
+ /// @inheritdoc ISlashingRegistryCoordinator
343
315
function updateSocket (
344
316
string memory socket
345
317
) external {
@@ -353,12 +325,7 @@ contract SlashingRegistryCoordinator is
353
325
*
354
326
*/
355
327
356
- /**
357
- * @notice Forcibly deregisters an operator from one or more quorums
358
- * @param operator the operator to eject
359
- * @param quorumNumbers the quorum numbers to eject the operator from
360
- * @dev possible race condition if prior to being ejected for a set of quorums the operator self deregisters from a subset
361
- */
328
+ /// @inheritdoc ISlashingRegistryCoordinator
362
329
function ejectOperator (address operator , bytes memory quorumNumbers ) external onlyEjector {
363
330
lastEjectionTimestamp[operator] = block .timestamp ;
364
331
@@ -385,13 +352,7 @@ contract SlashingRegistryCoordinator is
385
352
*
386
353
*/
387
354
388
- /**
389
- * @notice Updates an existing quorum's configuration with a new max operator count
390
- * and operator churn parameters
391
- * @param quorumNumber the quorum number to update
392
- * @param operatorSetParams the new config
393
- * @dev only callable by the owner
394
- */
355
+ /// @inheritdoc ISlashingRegistryCoordinator
395
356
function setOperatorSetParams (
396
357
uint8 quorumNumber ,
397
358
OperatorSetParam memory operatorSetParams
@@ -411,34 +372,21 @@ contract SlashingRegistryCoordinator is
411
372
_setChurnApprover (_churnApprover);
412
373
}
413
374
414
- /**
415
- * @notice Sets the ejector, which can force-deregister operators from quorums
416
- * @param _ejector the new ejector
417
- * @dev only callable by the owner
418
- */
375
+ /// @inheritdoc ISlashingRegistryCoordinator
419
376
function setEjector (
420
377
address _ejector
421
378
) external onlyOwner {
422
379
_setEjector (_ejector);
423
380
}
424
381
425
- /**
426
- * @notice Sets the account identifier for this AVS (used for UAM integration in EigenLayer)
427
- * @param _accountIdentifier the new account identifier
428
- * @dev only callable by the owner
429
- */
382
+ /// @inheritdoc ISlashingRegistryCoordinator
430
383
function setAccountIdentifier (
431
384
address _accountIdentifier
432
385
) external onlyOwner {
433
386
_setAccountIdentifier (_accountIdentifier);
434
387
}
435
388
436
- /**
437
- * @notice Sets the ejection cooldown, which is the time an operator must wait in
438
- * seconds afer ejection before registering for any quorum
439
- * @param _ejectionCooldown the new ejection cooldown in seconds
440
- * @dev only callable by the owner
441
- */
389
+ /// @inheritdoc ISlashingRegistryCoordinator
442
390
function setEjectionCooldown (
443
391
uint256 _ejectionCooldown
444
392
) external onlyOwner {
0 commit comments