Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low

Usage of Magic numbers

Summary

Vulnerability Details

Contract function uses magic number to compute & compare the reward/fees.

Impact

Goes against the solidity code styling. Also, the magic number 10000 has already been defined as BASIS_POINTS constant. Which should be used instead.

Tools Used

Manual Review

Recommendations

Use the pre-defined constant BASIS_POINTS instead.

Support

FAQs

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