Skip to content

Instantly share code, notes, and snippets.

@austintgriffith
Created November 9, 2017 23:38
Show Gist options
  • Save austintgriffith/9009fd5b0e76f5e541fa387b17dd3d47 to your computer and use it in GitHub Desktop.
Save austintgriffith/9009fd5b0e76f5e541fa387b17dd3d47 to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.11;
import 'zeppelin-solidity/contracts/ownership/Ownable.sol';
contract Inherit is Ownable {
string public message;
function Inherit(string _message) {
message = _message;
}
function setMessage(string _message) onlyOwner {
message = _message;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment