15,000 USDC
View results
Submission Details
Severity: low
Valid

Zero-Address Checks absent in Constructor

Instances (1):`

File: DSEngine.sol
constructor(address[] memory tokenAddresses, address[] memory priceFeedAddresses, address dscAddress)

Impact

Accidental use of zero-addresses could result in contract malfunction, hindering operation or causing data corruption.

Recommendations

Adding appropriate zero-address checks for the tokenAddresses, priceFeedAddresses, and dscAddress parameters in the constructor function would enhance the robustness of the protocol.

Support

FAQs

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