The veRAACToken
contract includes a paused
state variable and a whenNotPaused
modifier to restrict certain functions when the contract is paused. However, there is no implementation to set or toggle the paused
state. This renders the pause feature ineffective, as the contract cannot be paused in case of emergencies or unexpected issues.
The paused
state variable is declared and used in the whenNotPaused
modifier, but there is no function to set or toggle its value. There is no onlyOwner
or administrative function to update the paused
state.
https://github.com/Cyfrin/2025-02-raac/blob/89ccb062e2b175374d40d824263a4c0b601bcb7f/contracts/core/minters/RAACMinter/RAACMinter.sol#L170
Critical functions cant be paused
Manaul
Add functions to allow the contract owner to pause and unpause the contract:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.