58352 sc low assets become permanently stuck in tokeautoeth strategy due to strict balance check
Description
Description
TokeAutoEth.sol::
function _deallocate(uint256 amount) internal override returns (uint256) {
...
>> require(TokenUtils.safeBalanceOf(address(weth), address(this)) >= amount, "Strategy balance is less than the amount needed");
...
}Impact
Recommendation
Proof of Concept
Proof of Concept
Previous58781 sc high totallocked accounting mismatch leading to token balance deficit in alchemistv3Next58547 sc high mismatched accounting and transfer for capped fees
Was this helpful?