40,000 USDC
View results
Submission Details
Severity: low

Confusing default State enum property

Summary

The first (default) property in the State enum can cause confusion.

Vulnerability Details

It's best practice for the first value of a enum to be neutral. It this case it's Created, which might cause confusion in the future.

Impact

Currently cannot be exploited but it might cause problems in the future.

Tools Used

Manual Review, Remix

Recommendations

Add new NOT_INITIALIZED property at the first place in the State enum.

Support

FAQs

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