Files
openzeppelin-contracts/contracts/Killable.sol
2016-11-08 12:19:07 -03:00

13 lines
220 B
Solidity

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