Description:
when users transfer tokens between each other the countMartenitsaTokensOwner not updated accordingly leads to missleading and wrong reward collecting.
Impact:
this Impacts MartenitsaMarketplace::collectReward function ,
when users transfer tokens the original buyers counts is set so they can collect rewards instead of new owners
Proof of Concept:
Place the following test into MartenitsaMarketplace.t.sol
.
Recommended Mitigation:
override _update function and add the logic to update countMartenitsaTokensOwner .
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.