mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 05:32:42 +00:00
20 lines
296 B
Solidity
20 lines
296 B
Solidity
pragma solidity ^0.4.7;
|
|
|
|
contract SimpleStorage {
|
|
uint public storedData;
|
|
|
|
constructor(uint initialValue) public {
|
|
storedData = initialValue;
|
|
}
|
|
|
|
function set(uint x) public {
|
|
storedData = x;
|
|
}
|
|
|
|
function get() public view returns (uint retVal) {
|
|
return storedData;
|
|
}
|
|
|
|
}
|
|
|