15,000 USDC
View results
Submission Details
Severity: gas

Missing events for important operations

Summary

There are no events for important operation line minting, burning, and liquidation.

Vulnerability Details

The lack of event logs for key operations like mintDSC, burnDSC, and liquidate in a smart contract audit has significant repercussions. Proper event logs for mintDSC should record initiator addresses, minted amounts, and metadata; burnDSC logs should detail burning addresses and amounts; and liquidation logs must capture liquidated positions, repaid debts, and balance changes. The absence of these logs diminishes transparency, impedes auditing and debugging, worsens user experience, and compromises security monitoring and compliance.

Impact

The absence of event logs for important operations such as minting, burning, and liquidation in a smart contract audit can have significant implications for the transparency, security, and usability of the contract. Events serve as a critical communication mechanism between the blockchain smart contract and external systems, including user interfaces and monitoring tools.

Tools Used

manual review

Recommendations

Implement the following specific event logs in the smart contract: MintDSC, BurnDSC, and Liquidated. These events should include relevant details such as initiator addresses, amounts, and associated data for minting, burning, and liquidation operations. This will enhance transparency, facilitate auditing, improve user experience, and enable effective security monitoring.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.