{
    "Function": "claimProtocolFees",
    "File": "contracts/UpsideProtocol.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [
        "SafeERC20"
    ],
    "Internal Calls": [
        "onlyOwner"
    ],
    "Library Calls": [
        "safeTransfer"
    ],
    "Low-Level Calls": [],
    "Code": "function claimProtocolFees(address _recipient) external onlyOwner {\n        uint256 fees = claimableProtocolFees;\n        claimableProtocolFees = 0;\n        emit ProtocolFeeClaimed(fees, _recipient);\n\n        IERC20Metadata(liquidityTokenAddress).safeTransfer(_recipient, fees);\n    }"
}