You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// @notice operatorSet parallel of createAVSPerformanceRewardsSubmission
461
-
/// @dev sender must be the avs of the given operatorSet
460
+
/**
461
+
* @notice Creates a new operator-directed rewards submission for an operator set, to be split amongst the operators and
462
+
* set of stakers delegated to operators who are part of the operator set.
463
+
* @param operatorSet The operator set for which the rewards are being submitted
464
+
* @param performanceRewardsSubmissions The operator-directed rewards submissions being created
465
+
* @dev Expected to be called by the AVS that created the operator set
466
+
* @dev The duration of the `rewardsSubmission` cannot exceed `MAX_REWARDS_DURATION`
467
+
* @dev The tokens are sent to the `RewardsCoordinator` contract
468
+
* @dev The `RewardsCoordinator` contract needs a token approval of sum of all `operatorRewards` in the `performanceRewardsSubmissions`, before calling this function
469
+
* @dev Strategies must be in ascending order of addresses to check for duplicates
470
+
* @dev Operators must be in ascending order of addresses to check for duplicates
471
+
* @dev This function will revert if the `performanceRewardsSubmissions` is malformed
472
+
*/
462
473
function createOperatorDirectedOperatorSetRewardsSubmission(
0 commit comments