solidity/std/mortal.sol

9 lines
146 B
Solidity
Raw Normal View History

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);
}
}