solidity/std/mortal.sol

11 lines
171 B
Solidity
Raw Normal View History

2016-11-02 11:32:55 +00:00
pragma solidity ^0.4.0;
2016-08-19 14:51:40 +00:00
import "./owned.sol";
2016-08-16 19:10:40 +00:00
contract mortal is owned {
function kill() {
if (msg.sender == owner)
selfdestruct(owner);
}
}