Core Contracts

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

`BoostController::getBoostMultiplier` always returns MAX_BOOST

Summary

Instead of calculating the boost based on the portion of veTokens held, it uses the fraction of the maximum supply held by the user, this will always return the maximum boost amount.

Vulnerability Details

Impact

Tools Used

Manual review.

Recommendations

Boost is calculated based on the portion of veTokens as in the rest of the code

Updates

Lead Judging Commences

inallhonesty Lead Judge about 2 months ago
Submission Judgement Published
Validated
Assigned finding tags:

BoostController::getBoostMultiplier always returns MAX_BOOST for any non-zero boost due to mathematical calculation error, defeating the incentive mechanism

Support

FAQs

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