aboutsummaryrefslogtreecommitdiffstats
path: root/std/mortal.sol
blob: c43f1e4f79517a47bb5e57ca19d15f17bd1196ce (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() public {
        if (msg.sender == owner)
            selfdestruct(owner);
    }
}