The contract UpliftOnlyExample , the onAfterSwap function collects swap fees and sends them to address(this), but there are no mechanisms in place to withdraw or manage these fees within the contract.
In contract UpliftOnlyExample , the onAfterSwap function collects swap fees and sends them to address(this):
However, there are no mechanisms in place to withdraw or manage these fees within the contract. This results in the fees being indefinitely trapped in the contract, creating a situation where the fees accumulate without any provision for the owner or specific roles to access or redistribute them.
The impact is HIGH because fees will be locked in the contract and the likelihodd is HIGH, so the severity should be HIGH.
Manual Review
Consider adding following function:
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.