UpliftOnlyExample::onAfterRemoveLiquidity calculates and distributes fees when a user withdraws their position from the protocol. A portion of the shares is allocated to the admin, but an NFT is not minted for the admin, preventing the liquidity from being withdrawn.
Nested fees are not being avoided, and the NFT should be minted via a hook, not solely through UpliftOnlyExample::addLiquidityProportional.
The admin will be unable to withdraw their earnings.
If withdrawal is possible, nested fees would be generated, preventing the admin from receiving the full amount owed.
Manual Review
Mint an NFT for the admin.
Likelihood: High, won’t be able to withdraw. Impact: High, funds 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.