Users can list their martenitsa tokens by calling MartenitsaMarketplace::listMartenitsaForSale
, however once listed they cannot remove the listing.
The only way for users not willing to sell their tokens will be to set the price to a extremely high value so that no one is able to pay for them.
The intended functionality of the the field forSale
within the struct MartenitsaMarketplace::Listing
is invalidated in the current contract design as this value can never be set to false.
Foundry and manual review.
Add a function which allows to cancel the listing:
Note that the price is set to 0 as well to make the process more efficient and get a gas refund by freeing up some memory space.
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.