The update_profit_max_unlock_time
function in ScrvusdOracleV2.vy does not emit an event when updating a critical oracle parameter.
While the update_price
function emits a PriceUpdate
event, there is no corresponding event for update_profit_max_unlock_time
This makes it difficult to track changes to this parameter off-chain.
Lack of event emission reduces transparency and makes it harder for monitoring systems to track important state changes, potentially delaying the detection of issues.
Manual Review
Slither
Add an event for profit_max_unlock_time updates:
I believe low severity to be appropriate here, events could be used to be more explicit for the upcoming effects on price for changes in max unlock time, similar to as included in `update_price` with the `PriceUpdate` event
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.