Event emissions are missing in crucial functions responsible for:
Loan repayments (borrowers repaying loans)
Liquidations (liquidators seizing collateral)
Collateral deposits (users providing NFTs as collateral)
Without these events, users and external monitoring tools cannot efficiently track transactions and verify system integrity.
The developers omitted event emissions in functions that modify critical contract states. Events should be used for on-chain transparency and easy tracking of activities by external tools.
On-Chain Monitoring Failure: External indexers like The Graph and security tools cannot track key operations.
Lack of Transparency: Users and auditors cannot easily verify state changes.
Harder Debugging: Developers and security researchers face difficulties in tracing transactions.
Emit events for all critical functions that modify the contract state.
Ensure all state-changing functions such as repayLoan(), liquidate(), and depositCollateral() emit relevant events.
Adopt best practices by logging structured data in events for easy on-chain indexing.
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.