#42604 [SC-Low] `MoneyBrinter` vault does not conform to ERC4626
Description
Brief/Intro
Vulnerability Details
function previewWithdraw(uint256 assets) public view override returns (uint256) {
uint256 fee = _feeOnRaw(assets, exitFeeBasisPoints);
return super.previewWithdraw(assets + fee);
}Impact Details
References
Proof of Concept
Proof of Concept
Previous#42623 [SC-Critical] Potential Loss of Staked Tokens During Unstaking, Incorrect calculation of excess tokens in`accumulatedDeptRewardsYeet`Next#42637 [SC-Insight] When there is sufficient liquidity for executing reward distribution, token swapping should be skipped to avoid slippage loss
Was this helpful?