Core Contracts

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

Slope changes are not applied anywhere

Summary

Slope changes are not applied anywhere

Vulnerability Details

Slope changes are done like this:

if (oldSlope != 0) {
state.slopeChanges[unlockTime] -= oldSlope;
}
if (newSlope != 0) {
state.slopeChanges[unlockTime] += newSlope;
}

They are very important as they show how the voting power will change at a certain time in the future. However, they are never applied which means that the voting power will not actually change appropriately.

Impact

Voting power won't change appropriately

Tools Used

Manual Review

Recommendations

Apply the slope changes when the time comes

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Out of scope

Appeal created

s4muraii77 Submitter
7 months ago
inallhonesty Lead Judge
7 months ago
inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Out of scope

Support

FAQs

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

Give us feedback!