Skip to content

Commit

Permalink
Add simple.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozhongni committed Jul 24, 2019
1 parent b00a642 commit 9ef82b9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions simple.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pragma solidity >=0.4.0 <0.7.0;

contract SimpleStorage {
uint storedData;

function set(uint x) public {
storedData = x;
}

function get() public view returns (uint) {
return storedData;
}
}

0 comments on commit 9ef82b9

Please sign in to comment.