Files
openzeppelin-contracts/contracts/lifecycle/Killable.sol
2017-01-16 17:23:28 -03:00

16 lines
269 B
Solidity

pragma solidity ^0.4.4;
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);
}
}