Core Contracts

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

constructor initialize values incorrect assignment in BaseGauge::contructor()

Summary

maxBoost and minBoost value in baseGauge contructor are incorrect assigned

Vulnerability Details

boostState minBoost should less than maxBoost value. However in BaseGauge::constructor, boostState.maxBoost = 25000, where boostState.minBoost=1e18, clearly

boostState.minBoost > boostState.maxBoost

Impact

boost mechanism may be not properly function if not additional boostState reset.

Tools Used

manual

Recommendations

modify boostState to right value

Updates

Lead Judging Commences

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

boostState.minBoost is set to 1e18

Support

FAQs

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