The Standard

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

Some variables not initialized

Summary

There is not initialize functions, so some variables dont have value. and owner could not set value of these variables in the future

Vulnerability Details

Variables collateralRate, euros, smartVaultIndex not initialized in SmartVaultManagerV5 contract. Also, there are not function, which give ability for the owner to set these values. Without this, the contract cannot work correctly

Impact

Contract could not work properly.

Tools Used

Manual review

Recommendations

Add initialize() function, which will set values for variables collateralRate, euros and smartVaultIndex

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.