solidity/std/mortal.sol
2017-09-14 15:58:04 +01:00

11 lines
178 B
Solidity

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