contract owned {
    address public owner;
    function owned() {
        owner = msg.sender;
    }
    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }
    /* 管理者的权限可以转移 */
    function transferOwnership(address newOwner) onlyOwner {
        owner = newOwner;
    }
  }
function transferOwnership(address newOwner) onlyOwner {
    owner = newOwner;
}

/* 管理者的权限可以转移 */