Core Contracts

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

Missing Upper Bounds for Weekly Emissions

Summary

The setWeeklyEmission function lacks a maximum emission cap, allowing the controller to set arbitrarily high weekly emission rates that could destabilize the token economics.

Vulnerability Details

The implementation permits unrestricted setting of emission values:

function setWeeklyEmission(uint256 _weeklyEmission) external onlyController {
periodState.emission = _weeklyEmission;
emit EmissionUpdated(_weeklyEmission);
}

Without upper bounds validation, the system remains vulnerable to potentially harmful emission rates.

Impact

  • Risk of token value dilution through excessive emission rates

  • Potential disruption of economic incentives and reward mechanisms

Tools Used

  • Manual code review

Recommendations

  • Implement a maximum emission limit through a MAX_WEEKLY_EMISSION constant:

function setWeeklyEmission(uint256 _weeklyEmission) external onlyController {
require(_weeklyEmission <= MAX_WEEKLY_EMISSION, "Exceeds maximum emission limit");
periodState.emission = _weeklyEmission;
emit EmissionUpdated(_weeklyEmission);
}
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.