Core Contracts

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

The rescueToken function in the RToken contract can never be called

Summary

The rescueToken function in the RToken contract can never be called

Vulnerability Details

The rescueToken function in the RToken contract can never be called. This function is intended to be called when tokens are mistakenly sent to the contract so they can be withdrawn and returned to the user. The function has an onlyReservePool modifier, which means that only the Reserve Pool can call this function.

Unfortunately, the Reserve Pool never calls this function, so it is inaccessible to everyone.

Impact

Mistakenly sent tokens to the contract will be stuck in the contract forever.

Tools Used

Mannual Review

Recommendations

Allow the owner to call this function.

Updates

Lead Judging Commences

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

RToken::rescueToken() can never be called

Support

FAQs

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

Give us feedback!