Core Contracts

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

Missing pause function on `veRaacToken`

Vulnerability Details

veRAACToken has a whenNotPaused modifier. Yet there are no functions to pause and unpause the contract. See modifier here.

To check this just use a search tool and look for paused in the veRAACToken. You will see there is no function to alter the paused state.

Furthermore no inherited contract has pause functionality implemented:

contract veRAACToken is ERC20, Ownable, ReentrancyGuard, IveRAACToken

From the bot report, Medium-11 is the same finding, yet it missed that this also happens in the veRAACToken.

Impact

If a pause is needed due to a hack or bug, it will just not be posible.

Recommendations

Add functions that alter the bool paused state or use the Pausable OpenZeppelin contract.

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

Support

FAQs

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