Core Contracts

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

pause/unpause functionalities are not implemented in veRAACToken

Summary

pause/unpause functionalities are not implemented in veRAACToken.

Vulnerability Details

lock(), increase() and extend() in veRAACToken are declared with whenNotPaused modifier, therefore it is expected that those functions can be prevented from being called when the contract is pause.

veRAACToken::lock()

function lock(uint256 amount, uint256 duration) external nonReentrant whenNotPaused {

veRAACToken::increase()

function increase(uint256 amount) external nonReentrant whenNotPaused {

veRAACToken::extend()

function extend(uint256 newDuration) external nonReentrant whenNotPaused {

However, pause/unpause functionalities are not implemented in veRAACToken, this means those functions can never be paused.

Impact

veRAACToken cannot be paused/unpause.

Tools Used

Manual Review

Recommendations

Implement pause/unpause functionalities in veRAACToken.

Updates

Lead Judging Commences

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

veRAACToken lacks the ability to configure `paused` variable

Appeal created

h2134 Submitter
4 months ago
inallhonesty Lead Judge
4 months ago
inallhonesty Lead Judge 3 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.