Core Contracts

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

veRAACShare is distributed to gauges.

Bug description

distributeRevenue is used to distribute revenue between veToken holders and gauges.

GaugeController.sol#L511-L524

function distributeRevenue(
GaugeType gaugeType,
uint256 amount
) external onlyRole(EMERGENCY_ADMIN) whenNotPaused {
if (amount == 0) revert InvalidAmount();
uint256 veRAACShare = (amount * 80) / 100; // 80% to veRAAC holders
uint256 performanceShare = (amount * 20) / 100; // 20% performance fee
revenueShares[gaugeType] += veRAACShare;
_distributeToGauges(gaugeType, veRAACShare);
emit RevenueDistributed(
gaugeType,
amount,
veRAACShare,
performanceShare
);
}

We can see that the function calculates the share veToken holders and gauges should receive. However, the function distributes veRAACShare, which is veToken share, to gauges and does not distribute anything to veToken holders.

Impact

veToken holders share is distributed to gauges and veToken holders do not receive any revenue.

Recommended Mitigation

Distribute veRAACShare to veToken holders.

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Design choice
inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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

Give us feedback!