mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-29 15:06:11 +00:00
17 lines
264 B
Solidity
17 lines
264 B
Solidity
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;
|
|
}
|
|
|
|
}
|