If a MartenitsaToken is listed on the marketplace MartenitsaMarketplace.sol::listMartenitsaForSale and then transferred to someone else MartenitsaMarketplace.sol::makePresent, the listing persists. The token can then be voted on MartenitsaVoting.sol::voteForMartenitsa and if it win's, the rewards will not go to the current owner of the token.
If the new owner of the token is not a producer there will also be no way for them to stop the token from being bought or to end the listing.
If a MartenitsaToken is listed on the marketplace and then transferred; it can be voted on and the listing owner is already set as the previous owner. If the token wins the vote, then the HealthToken prize will go to the previous owner who created the listing and not the current owner.
The test below passes showing that the previous owner of the token gets the reward and not the current owner. Because the new owner is not a producer, they have no way of overriding the listing to become the listing owner.
--Foundry
It is recommended to cancel any current listings of a MartenitsaToken if it is being given as a present.
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.