solidity/std/mortal.sol
2016-11-11 19:59:31 +01:00

11 lines
171 B
Solidity

pragma solidity ^0.4.0;
import "./owned.sol";
contract mortal is owned {
function kill() {
if (msg.sender == owner)
selfdestruct(owner);
}
}