blockchains-security-toolkit/Solidity-Expert
2022-04-12 02:15:14 +04:00
..
Boilerplates/erc721-solidity-101 organizing directories 2022-04-12 02:15:14 +04:00
Setting-Workspace organizing directories 2022-04-12 02:15:14 +04:00
Writing-Tests organizing directories 2022-04-12 02:15:14 +04:00
README.md organizing directories 2022-04-12 02:15:14 +04:00

👾 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.

Reentrancy