The Standard

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

"collateralRate' not initialised

Summary

state variable 'collateralRate ' isnt assigned any value

Vulnerability Details

Impact

vaults() function will always return zero as collateral rate which will lead to unpredictable behaviour which can be used to drain the liquidity from pool

Tools Used

Visual inspection

Recommendations

Initialize the the variable collateralRate at the time of calling constructor

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.