-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 changed file
with
8 additions
and
7 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 |
---|---|---|
|
@@ -272,10 +272,10 @@ abstract contract StrategyBase is Controllable, IStrategy { | |
{} | ||
|
||
function _previewDepositUnderlyingWrite(uint amount) | ||
internal | ||
view | ||
virtual | ||
returns (uint[] memory amountsConsumed ) | ||
internal | ||
view | ||
virtual | ||
returns (uint[] memory amountsConsumed) | ||
{ | ||
return _previewDepositUnderlying(amount); | ||
} | ||
|
@@ -402,9 +402,10 @@ abstract contract StrategyBase is Controllable, IStrategy { | |
/// @return amountsConsumed Consumed amounts of assets when investing | ||
/// @return value Liquidity value or underlying token amount minted when investing | ||
function _previewDepositAssetsWrite(uint[] memory amountsMax) | ||
internal | ||
virtual | ||
returns (uint[] memory amountsConsumed, uint value) { | ||
internal | ||
virtual | ||
returns (uint[] memory amountsConsumed, uint value) | ||
{ | ||
return _previewDepositAssets(amountsMax); | ||
} | ||
Check warning Code scanning / Slither Dead-code Warning
StrategyBase._previewDepositAssetsWrite(uint256[]) is never used and should be removed
|
||
|
||
|