Skip to content

Instantly share code, notes, and snippets.

@SaifRehman
Created July 14, 2018 00:22
Embed
What would you like to do?
solidity
pragma solidity ^0.4.18;
contract Contract {
function set(string _value) public {
value = _value;
}
function get() public constant returns (string) {
return value;
}
string public value;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment