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

[GAS-1] Use assembly to check for `address(0)`

Summary

Check this Link

Vulnerability Details

Instances (2):

File: src/DSCEngine.sol
​
103: if (s_priceFeeds[token] == address(0)) {
​
File: src/DecentralizedStableCoin.sol
​
58: if (_to == address(0)) {
​

Impact

Tools Used

Recommendations

Support

FAQs

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

Give us feedback!