Scope Visibility of State Variables in Solidity
Scope of local variables is limited to the function in which they are defined but State variables can have three types of scopes.
Public − Public state variables can be accessed internally as well as via messages. For a public state variable, an aut...
yakuzakiawe.hashnode.dev2 min read