aboutsummaryrefslogtreecommitdiffstats
path: root/std/mortal.sol
blob: f0a6f4ce031d9bdb98d42bc0640205186a82b29e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
pragma solidity ^0.4.0;

import "./owned.sol";

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