aboutsummaryrefslogblamecommitdiffstats
path: root/std/mortal.sol
blob: 8de019abb4c635db4cad3a9d4a40e7149cf79d5e (plain) (tree)
1
2
3
4
5
6
7
8
                     






                                
import "./owned.sol";

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