Core Contracts

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

Contract veRAACToken does not have functions to pause

Summary

Contract veRAACToken has no functions to change the paused value.

Vulnerability Details

Contract veRAACToken has a storage variable paused that it relies on in modifier whenNotPaused:

modifier whenNotPaused() {
if (paused) revert ContractPaused();
_;
}

This modifier is used for functions lock, increase and extend. However, there is no functions that change the paused value, and the contract can not be paused.

Impact

In emergency the contract can not be paused, despite it was created with intention to have this ability pause.

Tools Used

Manual review

Recommendations

Add functions to pause/unpause the contract.

Updates

Lead Judging Commences

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

veRAACToken lacks the ability to configure `paused` variable

Support

FAQs

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

Give us feedback!