The StabilityPool#depositRAACFromPool()
allows RAAC tokens to be deposited from the liquidity pool. However, this function is missing the whenNotPaused
modifier, meaning it can still be executed even when the contract is paused.
The function lacks the whenNotPaused
modifier, meaning it can still be called even when the contract is paused.
This bypasses the intended security mechanism of pause()
and could lead to unexpected behavior when the protocol is under maintenance or emergency conditions.
The function still allows liquidity transfers while all other key functionalities are paused.
manual
Add the whenNotPaused
modifier
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.