Core Contracts

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

Reward distribution cap is never used

Summary

Reward distribution cap is never used in base gauge

Vulnerability Details

Distribution cap is meant to be used to restrict the total rewards distributed.

/// @notice Cap on reward distribution amount
uint256 public distributionCap;

But currently this cap is not restricted anywhere in the contract which leads to distribution of the rewards even when this cap has been reached

Impact

Reward distribution beyond the cap

Tools Used

Manual

Recommendations

Enforce this cap when notifying the rewards.

Updates

Lead Judging Commences

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

BaseGauge lacks enforcement of both distributionCap and MAX_REWARD_RATE limits

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

BaseGauge lacks enforcement of both distributionCap and MAX_REWARD_RATE limits

Support

FAQs

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

Give us feedback!