Core Contracts

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

Can't set feeCollector to zero address through RAACMinter

Vulnerability Details

RAACToken contract has the functionailty of removing feeCollector when they do not want to charge tax on swap of tokens.
If protocol decides to change feeCollector to zero address, they won't be able to do it through the RAACMinter::setFeeCollector because of the zero address check condition.

Impact

Protocol won't be able to change RAACToken::feeCollector to zero address through RAACMinter::setFeeCollector because of zero address check.

Tools Used

Manual Review

Recommendations

Remove the check for zero address from RAACMinter:setFeeCollector

Updates

Lead Judging Commences

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

RAACMinter::setFeeCollector prevents disabling fees by blocking zero address assignment

Support

FAQs

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