{
    "Function": "_setDefaultRoyalty",
    "File": "contracts/openzeppelin-solidity/contracts/token/common/ERC2981.sol",
    "Parent Contracts": [
        "contracts/openzeppelin-solidity/contracts/utils/introspection/ERC165.sol",
        "contracts/openzeppelin-solidity/contracts/interfaces/IERC2981.sol",
        "contracts/openzeppelin-solidity/contracts/utils/introspection/IERC165.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_feeDenominator",
        "require(bool,string)",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {\n        require(feeNumerator <= _feeDenominator(), \"ERC2981: royalty fee will exceed salePrice\");\n        require(receiver != address(0), \"ERC2981: invalid receiver\");\n\n        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);\n    }"
}