medium10 pts · first answer countssmart-contract-securitysolidity
Refunding outbid bidders
In an auction, the contract sends ETH back to the previous highest bidder inside bid(). An attacker bids from a contract whose receive() always reverts. What happens, and what is the fix?
Discussion 0
Join free to post in the discussion.
Related questions
- storage, memory, calldataBlockchain Developer
- Why emit eventsBlockchain Developer
- What msg.sender isBlockchain Developer
- Wei and etherBlockchain Developer
- view vs pureBlockchain Developer
- Sending ETH to a functionBlockchain Developer
- receive vs fallbackBlockchain Developer
- Reading a missing mapping keyBlockchain Developer