Files
openzeppelin-contracts/contracts/lifecycle/Killable.sol
2017-02-21 19:29:03 -03:00

16 lines
269 B
Solidity

pragma solidity ^0.4.8;
import "../ownership/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);
}
}