For a user to purchase a Martenitsa via MartenitsaMarketplace::buyMartenitsa
they must send ETH or a native token to the contract that is greater than or equal to the listing price.
In the case where a user accidentally sends more ETH than is necessary, they will not be refined and the extra ETH will be stuck in the MartenitsaMarketplace
smart contract.
The MartenitsaMarketplace
has to function to withdraw ETH or native tokens nor does it refund a user in case they send more ETH than necessary to purchase a Martenitsa so any extra funds sent to the contract will be stuck forever
Stuck native tokens
Manual Review
To protect users from themselves it is recommended to change the require statement to require users send the exact amount of eth to the contract for the purchase.
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.