51912 sc high mismatched rounding rules in reward logic library results in two fold loss of earnings
Description
Brief/Intro
Description
// PlumeRewardLogic.sol :: _calculateRewardsCore
commissionForThisSegment =
_ceilDiv(grossRewardForSegment * effectiveCommissionRate, REWARD_PRECISION);Impact
Proof of Concept
Previous51218 sc high oracle callback timing vulnerability causes jackpot prize lossNext51658 sc high yield distribution in batches let the same tokens collect rewards in multiple batches stealing yield from other users
Was this helpful?