
1556 Followers
Modern interior design elements ⢠Simple forms: clean lines, geometric shapes ⢠Natural materials and an earthy colour palette: natural wood, leather and metals ⢠Uncluttered Spaces and natural light: characterised by open floor plans, which remove barriers between rooms, and lots of unadorned windows.
Visibility Specifier in Solidity: Functions can be declared as public: any contract and account can call private: only inside the contract of the function internal: only inside contract that inherits an internal function external: only other contracts and accounts State variables can't be declared as external.
Pure vs View Functions in Solidity: View declares that no state will be changed. Pure declares that no state variable will be changed or read. Both of these don't cost any gas to call if they're called externally from outside the contract (but they do cost gas if called internally by another function).
Access modifiers in Solidity: - Private: grant access only within a contract. - Internal: grant access within the contract & all the contracts that inherit it. - External: grant access only outside of the contract. - Public: grant access within the contract as well as outside of the contract.