Skip to content

Commit 94c6a3f

Browse files
committed
chore: format
1 parent 91948f1 commit 94c6a3f

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

src/contracts/core/StrategyManager.sol

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,13 @@ contract StrategyManager is
179179
decreaseBurnableShares(operatorSet, slashId, i - 1);
180180
}
181181
}
182-
182+
183183
/// @inheritdoc IStrategyManager
184-
function decreaseBurnableShares(OperatorSet calldata operatorSet, uint256 slashId, uint256 index) public returns (uint256) {
184+
function decreaseBurnableShares(
185+
OperatorSet calldata operatorSet,
186+
uint256 slashId,
187+
uint256 index
188+
) public returns (uint256) {
185189
EnumerableMap.AddressToUintMap storage operatorSetBurnableShares =
186190
_operatorSetBurnableShares[operatorSet.key()][slashId];
187191

src/contracts/interfaces/IStrategyManager.sol

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,22 @@ interface IStrategyManager is IStrategyManagerErrors, IStrategyManagerEvents, IS
141141
* @param slashId The slash ID to burn shares in.
142142
* @param index The index of the strategy to burn shares in. Returns the amount of shares that were burned.
143143
*/
144-
function decreaseBurnableShares(OperatorSet calldata operatorSet, uint256 slashId, uint256 index) external returns (uint256);
144+
function decreaseBurnableShares(
145+
OperatorSet calldata operatorSet,
146+
uint256 slashId,
147+
uint256 index
148+
) external returns (uint256);
145149

146150
/**
147151
* @notice Returns the strategies that have NOT been sent to escrow for a given slashId.
148152
* @param operatorSet The operator set to burn shares in.
149153
* @param slashId The slash ID to burn shares in.
150154
* @return strategies The strategies for the given slashId.
151155
*/
152-
function getBurnOrRedistributableShares(OperatorSet calldata operatorSet, uint256 slashId) external view returns (IStrategy[] memory);
156+
function getBurnOrRedistributableShares(
157+
OperatorSet calldata operatorSet,
158+
uint256 slashId
159+
) external view returns (IStrategy[] memory);
153160

154161
/**
155162
* @notice Owner-only function to change the `strategyWhitelister` address.

0 commit comments

Comments
 (0)