Files
openzeppelin-contracts/contracts/Killable.sol
2016-11-03 22:58:28 -03:00

13 lines
220 B
Solidity

pragma solidity ^0.4.0;
import "./Ownable.sol";
/*
* Killable
* Base contract that can be killed by owner
*/
contract Killable is Ownable {
function kill() {
if (msg.sender == owner) selfdestruct(owner);
}
}