The Standard

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

In `SmartVaultManagerV5.sol` these variables `euros`, `collateralRate` and `smartVaultIndex` are not initialized and doesn't have setter functions.

Summary

This three storage variables euros, collateralRate and smartVaultIndex are not initialized (by default they are zero) and doesn't have setter functions.

Vulnerability Details

The contract is basically unusable because all the functions are dependent on these variables.

Impact

Unusable contract.

Tools Used

Slither

Recommendations

Initialize them and/or create setter functions for these variables.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice
Assigned finding tags:

uninitialized-variables

informational/invalid

Support

FAQs

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