gas

Spelling errors

Reward

Total

15.42 USDC

2.41 USDC
2.41 USDC
2.41 USDC
Selected
3.37 USDC
2.41 USDC
2.41 USDC
Selected Submission

Spelling errors

Severity

Low Risk

Relevant GitHub Links

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L40

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L210

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L220

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L224

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L365

Summary

There are numerous instances throughout the codebase where spelling errors have been encountered.

Vulnerability Details

Spelling errors should be strictly avoided.

Instances:

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L40

   @audit change Algoritmically to Algorithmically
 * - Algoritmically Stable

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L210

   @audit change you to your
 * you DSC but keep your collateral in.

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L220

   @audit change users to user's
 * @param debtToCover The amount of DSC you want to burn to improve the users health factor

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L224

  @audit change incentive to incentivize 
 * @notice A known bug would be if the protocol were 100% or less collateralized, then we wouldn't be able to incentive the liquidators. 

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/src/DSCEngine.sol#L365

     @audit change CL to Chainlink
    // The returned value from CL will be 1000 * 1e8

Impact

The prevention of spelling errors prevents confusion and also improves readability.

Tools Used

Manual review and VS Code

Recommendations

Correct the spelling errors.