Core Contracts

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

veRAACToken contract allows the owner to set a `minter` address but it is never used.

Summary

veRAACToken contract defines a setMinter function:

function setMinter(address _minter) external override onlyOwner {
require(_minter != address(0), "Invalid minter address");
minter = _minter;
emit MinterSet(_minter);
}

The problem arises because minter storage variable is never used, making this function useless.

Impact

The impact of this issue is low as it corresponds to a discrepancy in the implementation.

Tools Used

Manual review.

Recommendations

Remove setMinter function.

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

RToken minter and burner not used

Support

FAQs

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