{
    "Function": "transferOwnership",
    "File": "contracts/utils/BoringOwnable.sol",
    "Parent Contracts": [
        "contracts/utils/BoringOwnable.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "onlyOwner",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function transferOwnership(\n        address newOwner,\n        bool direct,\n        bool renounce\n    ) public onlyOwner {\n        if (direct) {\n            // Checks\n            require(newOwner != address(0) || renounce, \"Ownable: zero address\");\n\n            // Effects\n            emit OwnershipTransferred(owner, newOwner);\n            owner = newOwner;\n            pendingOwner = address(0);\n        } else {\n            // Effects\n            pendingOwner = newOwner;\n        }\n    }"
}