-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
2,614 additions
and
1,223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
diff -druN ../score/DelegationManager.sol core/DelegationManager.sol | ||
--- ../score/DelegationManager.sol 2023-01-13 14:12:34 | ||
+++ core/DelegationManager.sol 2023-01-13 14:24:43 | ||
@@ -160,10 +160,10 @@ | ||
--- ../score/DelegationManager.sol 2023-07-31 15:26:59 | ||
+++ core/DelegationManager.sol 2023-07-31 15:49:22 | ||
@@ -209,8 +209,11 @@ | ||
* Called by the StrategyManager whenever shares are decremented from a user's share balance, for example when a new withdrawal is queued. | ||
* @dev Callable only by the StrategyManager. | ||
*/ | ||
function decreaseDelegatedShares( | ||
address staker, | ||
- IStrategy[] calldata strategies, | ||
- uint256[] calldata shares | ||
+ IStrategy[] memory strategies, // MUNGED calldata => memory | ||
+ uint256[] memory shares // MUNGED calldata => memory | ||
) | ||
- function decreaseDelegatedShares(address staker, IStrategy[] calldata strategies, uint256[] calldata shares) | ||
- external | ||
+ public // MUNGED external => public | ||
+ function decreaseDelegatedShares( | ||
+ // MUNGED calldata => memory | ||
+ address staker, IStrategy[] memory strategies, uint256[] memory shares) | ||
+ // MUNGED external => public | ||
+ public | ||
onlyStrategyManager | ||
{ | ||
if (isDelegated(staker)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.