solidity/std/mortal.sol
2016-08-19 11:13:24 -04:00

9 lines
146 B
Solidity

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