setStrataxOracle() (L263) and setFlashLoanFee() (L272) change critical protocol parameters without emitting events. Off-chain monitoring systems cannot detect when these values change.
Admin functions that modify protocol parameters should emit events so off-chain systems (monitoring, frontends, governance dashboards) can track changes.
Both functions silently update state:
Likelihood: High -- These functions will be called during normal protocol operation.
Impact: Low -- No direct financial loss. Off-chain monitoring is blind to parameter changes. Users cannot verify when the oracle or fee changed without scanning storage diffs.
N/A (code inspection).
Emit events with both old and new values so off-chain systems can track parameter changes:
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.
The contest is complete and the rewards are being distributed.