### Description
In Phase 3 (post-bot-protection), the `_beforeSwap` function returns `LPFeeLibrary.OVERRIDE_FEE_FLAG` without any fee value, causing **all swaps to have 0% LP fees permanently**. Liquidity providers earn nothing once the bot protection phases end.
```solidity
// @> Phase 3 returns only the override flag with NO fee value
if (currentPhase == 3) {
return (BaseHook.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, LPFeeLibrary.OVERRIDE_FEE_FLAG);
}
```
## Risk
### Likelihood
- This ALWAYS occurs once Phase 3 begins
- Every token launch using this hook experiences this issue
### Impact
- LPs earn 0% fees on ALL swaps after Phase 2 ends, permanently
- Pool becomes unusable due to lack of liquidity
## Proof of Concept
```solidity
uint24 returnValue = LPFeeLibrary.OVERRIDE_FEE_FLAG; // = 0x800000
// Fee value = returnValue & 0x7FFFFF = 0
```
## Recommended Mitigation
```diff
if (currentPhase == 3) {
- return (BaseHook.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, LPFeeLibrary.OVERRIDE_FEE_FLAG);
+ return (BaseHook.beforeSwap.selector, BeforeSwapDeltaLibrary.ZERO_DELTA, 0);
}
```
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.
The contest is complete and the rewards are being distributed.