Files
openzeppelin-contracts/contracts/Killable.sol
2016-10-12 13:52:24 -04:00

13 lines
215 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) suicide(owner);
}
}