Lack of event emissions for some operations, including minting and burning of the Decentralized Stablecoin
Vulnerability Details
The contract does not emit events for all state-modifying operations.
Impact
This could potentially make it difficult to monitor the health of the contract and the stable coin off chain, impacting information about liquidation possibilities.
Tools Used
Manual Review
Recommendations
It is recommended to emit events for all state-modifying operations.
I would recommend doing this in the DSCEngine Contract to be uniform with events and because this is where the functionality as the owner of the Decentralised Stablecoin resides.
Furthermore, the Engine contract is where the state of what is burned and minted as per the "debt" owing is stored so this is where the events should be emitted from.
Lack of event emissions for some operations
Severity
Gas Optimization / Informational
Summary
Lack of event emissions for some operations, including minting and burning of the Decentralized Stablecoin
Vulnerability Details
The contract does not emit events for all state-modifying operations.
Impact
This could potentially make it difficult to monitor the health of the contract and the stable coin off chain, impacting information about liquidation possibilities.
Tools Used
Manual Review
Recommendations
It is recommended to emit events for all state-modifying operations. I would recommend doing this in the DSCEngine Contract to be uniform with events and because this is where the functionality as the owner of the Decentralised Stablecoin resides. Furthermore, the Engine contract is where the state of what is burned and minted as per the "debt" owing is stored so this is where the events should be emitted from.