Submitted by Trust
sendEthOrWeth() is used in several locations in OptimisticListingSeaport:
This is the implementation of sendEthOrWeth:
The issue is that the receive could be a contract that does not have a fallback function. In this scenario, _attemptETHTransfer will fail and WETH would be transferred to the contract. It is likely that it bricks those funds for the contract as there is no reason it would support interaction with WETH tokens.
It can be reasonably assumed that developers will develop contracts which will interact with OptimisticListingSeaport using proposals. They are not warned and are likely to suffer losses.
Loss of ETH for proposer when it is a contract that doesnt have fallback function.
Either enforce that proposer is an EOA or take in a recipient address for ETH transfers.
HickupHH3 (judge) commented:
stevennevins (Tessera) confirmed, but disagreed with severity and commented:
HickupHH3 (judge) commented:
