mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-15 09:45:47 +00:00
1cb0644f92
This reverts commit d23cd753ce993b9d9542432ef7d71a4019c3f972.
18 lines
305 B
Solidity
18 lines
305 B
Solidity
pragma solidity ^0.4.7;
|
|
contract SimpleStorage {
|
|
uint public storedData;
|
|
|
|
function SimpleStorage(uint initialValue) public {
|
|
storedData = initialValue;
|
|
}
|
|
|
|
function set(uint x) public {
|
|
storedData = x;
|
|
}
|
|
|
|
function get() public view returns (uint retVal) {
|
|
return storedData;
|
|
}
|
|
|
|
}
|