#42623 [SC-Critical] Potential Loss of Staked Tokens During Unstaking, Incorrect calculation of excess tokens in`accumulatedDeptRewardsYeet`
Description
Brief/Intro
Vulnerability Details
function accumulatedDeptRewardsYeet() public view returns (uint256) {
return stakingToken.balanceOf(address(this)) - totalSupply;
}Impact Details
Referrences
Proof of Concept
Proof of Concept
Previous#42602 [SC-Medium] Some of the Compounded Reward Island token can be stolen by sandwiching the compound() function callNext#42604 [SC-Low] `MoneyBrinter` vault does not conform to ERC4626
Was this helpful?