Skip to content

Instantly share code, notes, and snippets.

@jbaylina
Last active June 14, 2017 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbaylina/5033e5e42b5444144eb3fd4e24060f90 to your computer and use it in GitHub Desktop.
Save jbaylina/5033e5e42b5444144eb3fd4e24060f90 to your computer and use it in GitHub Desktop.
NullOwner.sol
pragma solidity ^0.4.11;
contract Owned {
function acceptOwnership();
}
// To remove the owner of the contract, transfer the ownership to this contract and
// call `confirmRemoveOwner`
contract NullOwner {
function confirmRemoveOwner(address ownedContract) {
Owned(ownedContract).acceptOwnership();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment