DeFiHardhat
21,000 USDC
View results
Submission Details
Severity: low
Invalid

enum `BEANS_TO_CURVE_LP` is never used should be removed

Summary

enum BEANS_TO_CURVE_LP is never used should be removed, in function convert , this kind convert type has been removed, so this enum is not used anymore, it should be removed to avoid confusion.

Vulnerability Details

in function convert , the convert kind of BEANS_TO_CURVE_LP has been removed, so this enum is not used anymore, it should be removed to avoid confusion.

function convert(bytes calldata convertData)
external
returns (convertParams memory cp)
{
...

Impact

user could find it confusing to see this enum in the code, and it could be misleading, as it is not used in the code, it should be removed to avoid confusion.

Tools Used

manual

Recommendation

remove the enum BEANS_TO_CURVE_LP

Updates

Lead Judging Commences

giovannidisiena Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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