Update and rename solidity-concepts.md to solidity/README.md

This commit is contained in:
bt3gl 2022-04-07 22:20:20 +04:00 committed by GitHub
parent 7ea7cdc378
commit 78e7232c31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
solidity/README.md Normal file
View file

@ -0,0 +1,12 @@
## Basic Concepts
<br>
### 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.
<br>
### Reentrancy