mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-14 04:32:17 -04:00
.. | ||
README.md |
👾 Basic Solidity concepts
Interfaces
- There are at least 2 reasons why you might use inheritance in smart contract developmnet. First, it allows changes in one parent contract to be reflected in child contracts. Second, it allow you to reuse code and reduce overall program length.
- Interfaces cannot define state variables or constructors, functions have to be external, and interfaces cannot themselves inherit from other contracts.