blockchains-security-toolkit/solidity
2022-04-07 22:21:49 +04:00
..
README.md Update README.md 2022-04-07 22:20:43 +04:00
remix-IDE.md Rename remix-IDE.md to solidity/remix-IDE.md 2022-04-07 22:21:49 +04:00
unit-testing.md Rename unit-testing.md to solidity/unit-testing.md 2022-04-07 22:21:00 +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