contract_storage_accessor.sol 344 B

123456789
  1. contract ethereum {
  2. // As a public mapping, this creates accessor function called balance, which takes
  3. // an address as an argument, and returns an uint
  4. mapping(address => uint256) public balances;
  5. // A public array takes the index as an uint argument and returns the element,
  6. // in this case string.
  7. string[] users;
  8. }