Skip to content

Instantly share code, notes, and snippets.

@austintgriffith
Created November 11, 2017 13:37
Show Gist options
  • Save austintgriffith/ecc29974a4df5aca91b1572192292f3d to your computer and use it in GitHub Desktop.
Save austintgriffith/ecc29974a4df5aca91b1572192292f3d to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.11;
contract Predecessor is Ownable{
function Predecessor() {}
address public descendant;
function setDescendant(address _descendant) onlyOwner {
descendant=_descendant;
}
}
import 'zeppelin-solidity/contracts/ownership/Ownable.sol';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment