Files
openzeppelin-contracts/contracts/Killable.sol
2016-11-23 17:32:35 -08:00

16 lines
258 B
Solidity

pragma solidity ^0.4.4;
import "./Ownable.sol";
/*
* Killable
* Base contract that can be killed by owner. All funds in contract will be sent to the owner.
*/
contract Killable is Ownable {
function kill() onlyOwner {
selfdestruct(owner);
}
}