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
Copy file name to clipboardExpand all lines: src/ServiceManagerBase.sol
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -167,11 +167,9 @@ abstract contract ServiceManagerBase is ServiceManagerBaseStorage {
167
167
/**
168
168
* @notice Forwards a call to Eigenlayer's RewardsCoordinator contract to set the address of the entity that can call `processClaim` on behalf of this contract.
169
169
* @param claimer The address of the entity that can call `processClaim` on behalf of the earner
170
-
* @dev Only callabe by the permissioned rewardsInitiator address
170
+
* @dev Only callabe by the owner.
171
171
*/
172
-
function setClaimerFor(
173
-
addressclaimer
174
-
) publicvirtual onlyRewardsInitiator {
172
+
function setClaimerFor(addressclaimer) publicvirtual onlyOwner {
Copy file name to clipboardExpand all lines: src/interfaces/IServiceManager.sol
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ interface IServiceManager is IServiceManagerUI {
44
44
/**
45
45
* @notice Forwards a call to Eigenlayer's RewardsCoordinator contract to set the address of the entity that can call `processClaim` on behalf of this contract.
46
46
* @param claimer The address of the entity that can call `processClaim` on behalf of the earner
47
-
* @dev Only callabe by the permissioned rewardsInitiator address
function setClaimerFor(addressclaimer) externalvirtual onlyOwner {
119
+
_setClaimerFor(claimer);
122
120
}
123
121
124
122
/// @inheritdoc IServiceManagerUI
@@ -263,6 +261,14 @@ abstract contract ECDSAServiceManagerBase is
263
261
);
264
262
}
265
263
264
+
/**
265
+
* @notice Forwards a call to Eigenlayer's RewardsCoordinator contract to set the address of the entity that can call `processClaim` on behalf of this contract.
266
+
* @param claimer The address of the entity that can call `processClaim` on behalf of the earner.
267
+
*/
268
+
function _setClaimerFor(addressclaimer) internalvirtual {
0 commit comments