Core Contracts

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

No incentive or enforcement for users to call `FeeCollector.sol::collectFee()` function.

Summary

Link

  • The purpose of collectFee() function is to collect fee from users and store in FeeCollector.sol.

  • The FeeCollector.sol::collectFee() is external function and isn't interacting with any of protocol's other contract.

  • so this function is intended to be called by users seperatily (not assciated with any deposit or withdraw) operation.

  • Users will not pay the fee, if they are not forced to do that.

Vulnerability Details

Flaw in current architechture,

Impact

FeeCollector.sol will lack suffiecint RAAC tokens, required for other operations.

Tools Used

Manual

Recommendations

Reconsider the architecture.

Updates

Lead Judging Commences

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

Give us feedback!