Sparkn

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

Commission fee cannot be changed contrary to code comments

Summary

Comment states Commission fee can be changed, but it is set to CONSTANT

Vulnerability Details

uint256 private constant COMMISSION_FEE = 500; // this can be changed in the future

Opposed to the comments, the COMMISSION_FEE variable is set to constant and cannot be changed in the future

Impact

Code insolvency

Tools Used

Manual review

Recommendations

Do not set the variable as constant and add a method allowing to change its value

Support

FAQs

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