일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- nextJS
- express.js
- solidity
- bitcoin
- concept
- web
- blockchain
- useState
- SSR
- REACT
- tailwindcss
- Ethereum
- HTML
- evm
- built in object
- Redux
- typeScript
- CSS
- CLASS
- hardhat
- JavaScript
- 삶
- node.js
- 기준
- Interface
- API
- graphQL
- error
- middleware
- Props
- Today
- Total
목록revert (2)
ReasonJun
The require() function in Solidity is used to check for certain conditions before executing a function. If the condition passed to the require() function evaluates to false, the function will throw an exception and the transaction will be reverted. The require() function is typically used to check for valid input data or to verify that a certain state invariant is true. For example, the followin..
The revert() function in Solidity is used to revert a transaction and undo all state changes that have been made so far. It can be used to handle errors or to prevent invalid state changes from happening. The revert() function can be used in a number of ways. For example, it can be used to: Check for invalid input data and revert the transaction if the input data is invalid. Check for state inva..