Core Contracts

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

`collectFee` in FeeCollector contract is not integrated in the protocol, preventing protocol components to send their accumulated fees.

Summary

collectFee in FeeCollector contract is the function responsible for transferring fees generated by the various components of the protocol to the fee collector.

The issue arises because none of the protocol components integrate this function in their fee mechanism. Actually, these components don't even implement a fee logic (lending pool, NFT minting, etc). Regarding RAAC Token, there is a fee logic but fees are directly transferred to the FeeCollector which is in incorrect.

Impact

The impact of this issue is high as it leads to fees never sent to the fee collector.

Tools Used

Manual review

Recommendations

Make sure to integrate collectFee into all components of the protocol that will generate fees in order to collect them.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 month ago
Submission Judgement Published
Validated
Assigned finding tags:

RAACToken::burn sends tax directly to FeeCollector without using collectFee(), causing tokens to bypass accounting and remain undistributed. `collectFee` is not used anywhere.

inallhonesty Lead Judge about 1 month ago
Submission Judgement Published
Validated
Assigned finding tags:

RAACToken::burn sends tax directly to FeeCollector without using collectFee(), causing tokens to bypass accounting and remain undistributed. `collectFee` is not used anywhere.

Support

FAQs

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