250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 삶
- nextJS
- JavaScript
- CLASS
- built in object
- graphQL
- express.js
- API
- solidity
- typeScript
- Props
- tailwindcss
- SSR
- Redux
- blockchain
- Interface
- REACT
- hardhat
- bitcoin
- web
- 기준
- node.js
- error
- Ethereum
- concept
- middleware
- CSS
- HTML
- useState
- evm
Archives
- Today
- Total
목록fallback (1)
ReasonJun
Solidity : fallback() vs receive()
The main difference between fallback() and receive() in Solidity is that fallback() is called when a contract receives Ether without any calldata, while receive() is called when a contract receives Ether with empty calldata. In other words, fallback() is called when a user sends Ether to a contract directly, while receive() is called when a user calls a function on a contract without passing any..
Blockchain/Solidity
2023. 10. 18. 18:29