Normal **behavior - **In RebateFiHook.solwhen the owner wants to withdraw tokens from the contract via the withdrawTokens function an event should be emitted in that order : address indexed token, address indexed to, uint256 amount.
Issue - The order of the parameters is wrong and it can lead to inaccurate logs.
Likelihood:
High likelihood because every time user wants to withdraw tokens this event is going to be emitted with the wrong parameters
Impact:
Misleading information
Inaccurate data could cause serious issues if an off-chain monitoring system relies on these events at some point in the future.
N/A
Update RebateFiHook.sol. by using the correct order of the parameteres.
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.