Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: high
Invalid

Unwanted manipulation of BOOST

Summary

The _applyBoost function calculates rewards using the user’s current VeToken balance . This approach fails to account for changes in boost during the reward period; it should instead use time‐weighted averages.

Vulnerability Details

The reward calculation is based on instantaneous values VeToken balance of user` rather than on values averaged over the period during which rewards accrue. This allows short-term fluctuations to unduly affect the reward outcome.

Impact

Users can manipulate their reward earnings by adjusting their VeToken balance or boost parameters immediately before claiming rewards. For example, a user might temporarily boost their weight to artificially inflate the calculated reward, receiving a disproportionate share of rewards.

Recommendations

Modify the reward calculation to use time‐weighted averages for fairness of reward distribution.

Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!