This is a solidity smart contract Main agenda is to dive deeper into Solidity smart contracts and get towards the blockchain world
It has 3 Major Contracts
-
SimpleStorage
-
Storage Factory
-
Extra Storage
-
SimpleStorage This contract has all the data types variable and functions. function store() - This will store the favorite number for the user. retrieve() - This is a getter function will fetch the fav number for the user.
-
Storage Factory This contract showcases the ability to import a smart contract & access its function with the help of contract address.
-
Extra Storage This Contracts explores over inheritance feature of solidity language Explains how overiding of a function can be done and how the keywords like Overide and Vitual plat a vitual role in order to add additional features to the function