The finding identified a vulnerability where the smart contract UpliftOnlyExample lacks the necessary functionality to withdraw swap fees, potentially leading to locked funds.
Below snippet shows that the contract receives a portion of swap fees ownerFee in ERC20 token feeToken but lacks a mechanism to withdraw these funds.
Found in pkg/pool-hooks/contracts/hooks-quantamm/UpliftOnlyExample.sol at Line 343
The inability to withdraw the collected swap fees can lead to significant financial losses as the funds remain inaccessible.
Manual Review
Implement a withdrawal function that allows the owner to retrieve accumulated swap fees, ensuring funds are not locked in the contract.
Likelihood: High, every swap. Impact: High, funds are stuck.
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.