Core Contracts

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

Discrepancy Between maxBoost Implementation and Documentation

Summary

The setBoostParameters function allows setting a maxBoost value up to 5x, while the documentation states that the limit should be 2.5x. This inconsistency can lead to unintended behavior, potential system exploitation, and confusion for users and auditors.

Vulnerability Details

In the code we have defined MAX_BOOST = 25000 and MIN_BOOST = 10000 however these values are not used in the validation for setBoostParameters.

Impact

If boosts were designed around 2.5x, increasing the cap to 5x could disrupt the balance of the system.

Tools Used

Manual code review

Recommendations

Use the defined Values instead of hardcoding the limit to be consistent.

Updates

Lead Judging Commences

inallhonesty Lead Judge 3 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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