#42539 [SC-Low] Incorrect `maxWithdraw()` returns lead to user failed withdrawals of returned maximum amount
Description
Brief/Intro
Vulnerability Details
function maxWithdraw(address owner) public view virtual returns (uint256) {
return _convertToAssets(balanceOf(owner), Math.Rounding.Floor);
}Impact Details
References
Proof of Concept
Proof of Concept
Previous#42538 [SC-Insight] Incorrect value in events emitted in StakeV2Next#42548 [SC-High] Remaining token0 and token1 sent from Zapper to StakeV2 will be permanently locked in StakeV2 forever.
Was this helpful?