currentFee variable within the AfterRemoveLiquidityData struct in the UpliftOnlyExample contract is incorrectly assigned to wrong fee value.
The currentFee variable is incorrectly set to minWithdrawalFeeBps, as minWithdrawalFeeBps stores the minimum withdrawl fee, not the withdrawal fee.
The calculation with currentFee variable will be wrong and wrong fee will be charged and transfered.
CurrentFee calculated with minWithdrawalFeeBps , the protocol will suffer.
manual review
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.