Core Contracts

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

Unused DUST_THRESHOLD variable in DebtToken with no enforcement

Summary

In DebtToken, the contract declares:

// Dust threshold for debt balances
uint256 private constant DUST_THRESHOLD = 1e4;

but never utilizes this threshold to check or handle small debt amounts.

Impact

This can lead to minor leftover debts or dust values persisting in user balances since there is no place in the code that references the threshold, leaving it inert and potentially confusing future maintainers.

Tools Used

Manual Review

Recommendations

Implement the DUST_THRESHOLDconstant into the contract

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.