The HookUpliftWithdrawalFeePercentageChanged event and TakeFeeLocalData struct are unused in both the UpliftOnlyExample contract and the project.
According to the NatSpec documentation, the HookUpliftWithdrawalFeePercentageChanged event is intended to emit when the uplift withdrawal fee percentage is changed. However, this event is not used anywhere in the contract. Additionally, the uplift withdrawal fee variable and its corresponding calculations are not implemented in the contract.
The TakeFeeLocalData struct is also not utilized in any calculations or logic within the contract.
Manual review
Use HookUpliftWithdrawalFeePercentageChanged in appropriate position and if uplift withdrawal fee variable and its corresponding calculations missing implement them in the contract.
Use `TakeFeeLocalData` in the place needed.
If both are redundant remove them from the contract to save gas and misinformations.
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.