_beforeInitialize improper validation will cause impossibility to initializeWhen the RebatiFiHook is initialized, it does not check if ReFi token is not present in key.currency0. This will cause the hook to not deploy everytime when ReFi token is not in key.currency1
Likelihood: HIGH
Hook won't be initialized everytime ReFi token is not in PoolKey.currency1 .
Impact: HIGH
Improper validation logic will cause hook to not be deployed, setting users unable to trade through the hook.
Here is the recommended mitigation:
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.