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 |
| 29 | 30 | 31 |
Tags
- hardhat
- 삶
- web
- evm
- concept
- blockchain
- graphQL
- bitcoin
- Interface
- node.js
- Ethereum
- Redux
- Props
- CLASS
- middleware
- useState
- built in object
- JavaScript
- nextJS
- tailwindcss
- typeScript
- solidity
- API
- 기준
- HTML
- REACT
- SSR
- error
- CSS
- express.js
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