#41283 [SC-Low] Contract fails to deliver promised returns, due to changed `MAX_CAP_PER_WALLET_PER_EPOCH_FACTOR`
Description
contract RewardSettings is Ownable2Step {
/// @dev The max rewards a wallet can get per epoch
uint256 public MAX_CAP_PER_WALLET_PER_EPOCH_FACTOR;
event YeetRewardSettingsChanged(uint256 indexed maxCapPerWalletPerEpoch);
constructor() Ownable(msg.sender) {
/// @dev this is in percentage, 1/10 of the total rewards
@> MAX_CAP_PER_WALLET_PER_EPOCH_FACTOR = 30;
}Proof of Concept
Previous#41280 [SC-High] Permanent freezing of yield due to incorrect reward handling in `StakeV2` claim functionsNext#41286 [SC-Critical] `accumulatedDeptRewardsYeet()` accounts for tokens under unstaking process
Was this helpful?