The ChangeFee function allows the owner to update the global buyFee and/or sellFee used by the hook to override the pool’s swap fee.
These values directly determine the core economic behavior of every ReFi pool using this hook (rebates, incentives, revenue).
No events are emitted when either fee is changed, making it impossible for indexers, frontends, analytics platforms, or bots to reliably detect and react to fee updates without constantly reading storage.
Likelihood:
Every legitimate fee adjustment by the owner triggers the issue
Off-chain services (The Graph, Dune, internal dashboards, trading bots) depend on events for real-time updates
Impact:
Indexers show stale or incorrect fee values until they manually rescan storage
Users and frontends display wrong trading fees, leading to confusion or failed transactions
Revenue tracking, rebate calculations, and promotional campaigns become inaccurate or delayed
Reduced transparency and trust signal for a fee-bearing hook
Consider emitting an event to enable offchain indexers to track the changes.
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.