Last active
June 14, 2017 15:51
-
-
Save jbaylina/5033e5e42b5444144eb3fd4e24060f90 to your computer and use it in GitHub Desktop.
NullOwner.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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