Core Contracts

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

No check for MAX_MONTHLY_EMISSION in RWAGauge::setMonthlyEmission

Summary

The setMonthlyEmission function allows the contract controller to update the monthly emissions without any validation. This means an excessively high emission can be set, leading to unintended inflation or even breaking the emission schedule.

Vulnerability Details

function setMonthlyEmission(uint256 _monthlyEmission) external onlyController {
periodState.emission = _monthlyEmission;
emit EmissionUpdated(_monthlyEmission);
}
}

There is no validation to ensure that _monthlyEmission does not exceed a maximum allowable limit (MAX_MONTHLY_EMISSION).

Impact

Excessive emissions can drastically increase token supply, leading to hyperinflation and reducing token value.

Tools Used

Manual Review

Recommendations

Modify the function to enforce a maximum cap for MAX_MONTLY_EMISSION:

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 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.