Destructible.sol 283 B

123456789101112131415
  1. pragma solidity ^0.4.8;
  2. import "../ownership/Ownable.sol";
  3. /*
  4. * Destructible
  5. * Base contract that can be destroyed by owner. All funds in contract will be sent to the owner.
  6. */
  7. contract Destructible is Ownable {
  8. function destroy() onlyOwner {
  9. selfdestruct(owner);
  10. }
  11. }