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

Wrong comment: minting instead of mining

In the comment, it is stated that this contract has the logic to mine DSC, but actually DSC is being minted.

File: src/DSCEngine.sol
46: * @notice This contract is the core of the DSC System. It handles all the logic for mining and redeeming DSC, as well as depositing & withdrawing collateral.
46: * @notice This contract is the core of the DSC System. It handles all the logic for minting and redeeming DSC, as well as depositing & withdrawing collateral.

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

Support

FAQs

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