easy5 pts · first answer countssolidity
receive vs fallback
A contract has both receive() external payable and fallback() external payable. Someone sends plain ETH with empty calldata. Which function runs?
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
- Reading a missing mapping keyBlockchain Developer
- What revert undoesBlockchain Developer