15,000 USDC
View results
Submission Details
Severity: gas

[I-8] Non-`external` variable and function names should begin with an underscore

Summary

According to the Solidity Style Guide, Non-external variable and function names should begin with an underscore

Vulnerability Details

Instances (5):

File: src/DSCEngine.sol
77: mapping(address token => address priceFeed) private s_priceFeeds; // tokenToPriceFeed
78: mapping(address user => mapping(address token => uint256 amount)) private s_collateralDeposited;
79: mapping(address user => uint256 amountDscMinted) private s_DSCMinted;
80: address[] private s_collateralTokens;
82: DecentralizedStableCoin private immutable i_dsc;

Impact

Tools Used

Recommendations

Support

FAQs

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