Part 2

Zaros
PerpetualsDEXFoundrySolidity
70,000 USDC
View results
Submission Details
Severity: low
Invalid

MIN_OF_SHARES_TO_STAKE Will Not Be Sufficient For Every Vault

Summary

Shares for every different vault can have different decimals. However, the MIN_OF_SHARES_TO_STAKE variable is a constant used for every vault. This will lead to cases where this constant will not be sufficient for some of the vaults

Impact

Insufficient check for minimum shares to stake.

Tools Used

Manual Review

Recommendations

Set a minimum shares to stake variable for every vault depending on its decimals.

Updates

Lead Judging Commences

inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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