Core Contracts

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

RAACToken - if FeeCollector wasn't intentionaly whitelisted then he will pay taxes for collecting taxes and lose burning value

Summary

In RAACToken.sol whitelisted users are tax free. Meanwhile any other have to pay tax (beside from/to 0 address txs) - check custom _update() func in RAACToken.sol to get an idea.

Vulnerability Details

Meanwhile in constructor when you set all values there is no call to add FeeCollector to whiteList. This means if feeCollector not added to whitelist he now should to pay taxes itself and also lose funds while any transfer because of custom _update() function within contract.

Impact

Not adding feeCollector to white list will lead to lose of taxes

Tools Used

manual review

Recommendations

add this to constructor

manageWhitelist(feeCollector, true)
Updates

Lead Judging Commences

inallhonesty Lead Judge 7 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.

Give us feedback!