mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-15 05:02:22 -04:00
Update and rename solidity-concepts.md to solidity/README.md
This commit is contained in:
parent
7ea7cdc378
commit
78e7232c31
1 changed files with 1 additions and 1 deletions
12
solidity/README.md
Normal file
12
solidity/README.md
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue