{
    "Function": "addOwnerWithThreshold",
    "File": "contracts/lib/safe-contracts/contracts/base/OwnerManager.sol",
    "Parent Contracts": [
        "contracts/lib/safe-contracts/contracts/common/SelfAuthorized.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "authorized",
        "require(bool,string)",
        "changeThreshold",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function addOwnerWithThreshold(address owner, uint256 _threshold) public authorized {\n        // Owner address cannot be null, the sentinel or the Safe itself.\n        require(owner != address(0) && owner != SENTINEL_OWNERS && owner != address(this), \"GS203\");\n        // No duplicate owners allowed.\n        require(owners[owner] == address(0), \"GS204\");\n        owners[owner] = owners[SENTINEL_OWNERS];\n        owners[SENTINEL_OWNERS] = owner;\n        ownerCount++;\n        emit AddedOwner(owner);\n        // Change threshold if threshold was changed.\n        if (threshold != _threshold) changeThreshold(_threshold);\n    }"
}