The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

`SmartVaultV3:: liquidated ` Using bools for storage can meke overhead

Summary

Using bools for storage can make overhead and can cause lot of gas

Vulnerability Details

bool private liquidated;

Impact

gas overhead everytime you call the contract using the liquidated

Tools Used

manual

Recommendations

make use of uint256(1) and uint256(2) for true/false to avoid a Gwarmaccess (100 gas)

Updates

Lead Judging Commences

hrishibhat Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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