Core Contracts

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

Missing Performance Share Distribution

Summary

The distributeRevenue function's implementation incorrectly handles the 20% performance share calculation. While the share is calculated, the function fails to properly distribute or allocate these funds, leading to potential fund mismanagement.

Vulnerability Details

The code calculates but does not distribute the performance share:

uint256 performanceShare = amount * 20 / 100; // 20% performance fee

After this calculation, the function:

  • Only distributes the veRACC share (80%)

  • Leaves the performance share (20%) unhandled

  • Creates no allocation or transfer mechanism for the calculated amount

Impact

  • Performance share funds remain trapped in the contract

  • Intended recipients (treasury, developers, etc.) do not receive allocated funds

  • Reduced transparency in revenue distribution process

Tools Used

  • Manual code review

Recommendations

  1. Implement transfer functionality for the performance share

  2. Add dedicated tracking variable for performance share accounting


Updates

Lead Judging Commences

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

GaugeController.distributeRevenue calculates 20% performance fee but never transfers or allocates it to any recipient, causing loss of funds

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

GaugeController.distributeRevenue calculates 20% performance fee but never transfers or allocates it to any recipient, causing loss of funds

Support

FAQs

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