Core Contracts

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

Lack of Detailed Event Emissions for Fund Management on Treasury.sol

Summary

The contract only emits events for deposits, withdrawals, and allocations, but does not provide sufficient details on the internal state changes related to fund management. For instance, there is no event for a successful allocation verification or a total fund balance check.

Vulnerability Details

emit Deposited(token, amount);
emit Withdrawn(token, amount, recipient);
emit FundsAllocated(recipient, amount);

Impact

Lack of events for internal fund management could hinder tracking and auditing of contract activities, making it harder to monitor or troubleshoot issues in a transparent manner.

Tools Used

Recommendations

Emit additional events to track key state changes like fund transfers and allocation changes. Also, events should be emitted for any significant state modifications (e.g., fund allocation verification, total treasury value updates).

emit FundStateUpdated(token, _balances[token], _totalValue);
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.