The UpliftOnlyExample::onAfterRemoveLiquidity function does not reset the nftPool mapping for NFTs that have been burned. Consequently, burned NFTs remain mapped to a pool address, leading to an incorrect representation of the contract's state.
UpliftOnlyExample::onAfterRemoveLiquidity function:
Burned NFTs remain mapped to a pool address, leading to an incorrect representation of the contract's state.
Update logic in the UpliftOnlyExample::onAfterRemoveLiquidity function to reset the nftPool mapping for any NFT that is burned.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.