Description:
If the seller account were a smart contract that did not implement a payable fallback or receive function, or these functions were included but reverted, the external call above would fail, and execution of the buyMartenitsa function would halt. Therefore, the listed token would never be sold .
Impact:
Token listed can not be sold as expected .
Proof of Concept:
at the end of it add attack contract example :
Place the following test into MartenitsaMarketplace.t.sol
.
Favor pull-payments over push-payments.
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.