Core Contracts

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

`mintRewards()` in `RaacMinter` is obsolete

Vulnerability Details

Function mintRewards() in RAACMinter contract can only be called by StabilityPool i.e.
mintRewards()

However, StabilityPool, has no functions which call into mintRewards() for minting rewards to specific users.

This makes this function completely obsolete and unnecessary.

Tools Used

Manual

Recommendations

Either implement a dedicated function in stability pool to call mint rewards, or consider removing it from the contract.

Updates

Lead Judging Commences

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

RAACMinter::mintRewards function is never called by StabilityPool despite being the only authorized caller, leaving intended reward functionality unused

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

RAACMinter::mintRewards function is never called by StabilityPool despite being the only authorized caller, leaving intended reward functionality unused

Support

FAQs

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