Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 312 Bytes
pragma solidity ^0.4.18;
contract StorageData {
string data;
function StorageData(string _data) public {
data = _data;
}
function getData() constant public returns (string) {
return data;
}
function setData(string _data) public returns (string) {
data = _data;
return data;
}
}