일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Interface
- API
- express.js
- CSS
- useState
- nextJS
- graphQL
- web
- built in object
- SSR
- 기준
- Redux
- solidity
- Ethereum
- HTML
- CLASS
- error
- REACT
- Props
- node.js
- concept
- bitcoin
- hardhat
- blockchain
- JavaScript
- evm
- typeScript
- tailwindcss
- middleware
- 삶
- Today
- Total
목록Override (2)
ReasonJun
The virtual and override keywords in Solidity are used to support function overriding. Function overriding allows you to redefine a function that is inherited from a base contract. This can be useful for customizing the behavior of the function for your specific needs. Virtual functions A function is marked as virtual if it can be overridden by derived contracts. When a function is marked as vir..
Inheritance in Solidity is a way to create new contracts that reuse and extend the functionality of existing contracts. This can be useful for reducing code duplication, creating reusable libraries, and building complex systems from smaller components. is To inherit from another contract, you use the is keyword. For example, the following contract inherits from the ERC20 contract: contract MyTok..