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