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