1 2 3 4 5 6 7 8 9 10
pragma solidity ^0.4.0; import "./owned.sol"; contract mortal is owned { function kill() public { if (msg.sender == owner) selfdestruct(owner); } }