https://www.dappuniversity.com/articles/solidity-tutorial until #2 · Data Types and Data Structures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://www.dappuniversity.com/articles/solidity-tutorial#2 | |
// until Mappings | |
pragma solidity ^0.5.1; | |
contract MyContract { | |
string public constant value = "myValue"; | |
bool public myBool = true; | |
uint256 public myUint256 = 9999; | |
uint256 public peopleCount; | |
uint8 public myUint8 = 8; |