Skip to content

Instantly share code, notes, and snippets.

@vasa-develop
Created November 29, 2019 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vasa-develop/5b5455310382fe9feb51a4c1a6a6a766 to your computer and use it in GitHub Desktop.
Save vasa-develop/5b5455310382fe9feb51a4c1a6a6a766 to your computer and use it in GitHub Desktop.
pragma solidity ^0.5.11;
contract Storage {
uint256 public number;
address public account;
uint256[] private array;
mapping(uint256 => uint256) private map;
constructor() public {
number = 2;
account = address(this);
array.push(10);
array.push(100);
map[1] = 9;
map[2] = 10;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment