Business logic
Attacker will prevent distribution of USDC to stakers through frequent reward updates
The reward-per-token calculation for USDC uses the same precision as KWENTA, but USDC has only 6 decimals, so frequent reward updates cause the calculated reward-per-token to round down to zero. An attacker could repeatedly trigger reward updates to prevent stakers from receiving any USDC rewards.
Kwenta Staking Rewards Upgrade
Medium