scurvUSD oracle contract, we identified a missing event emission in the update_profit_max_unlock_time
function. This issue impacts transparency and traceability, making it difficult to track updates to profit_max_unlock_time
** **off-chain.
Improved Observability: External monitoring tools and indexers can track changes.
Enhanced Debugging: Developers can easily verify parameter updates.
Better Governance and Transparency: DAO members and stakeholders can monitor important contract changes.
Manual Review
Adding an event emission ensures better tracking of system state changes. While the absence of an event does not compromise contract security, it reduces transparency, which is essential in DeFi protocols. Implementing this fix will improve contract maintainability and monitoring capabilities.
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.