{
    "Function": "setNewRound",
    "File": "src/StakeAtRisk.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "_sweepLostStake",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function setNewRound(uint256 roundId_) external {\n        require(msg.sender == _rankedBattleAddress, \"Not authorized to set new round\");\n        bool success = _sweepLostStake();\n        if (success) {\n            roundId = roundId_;\n        }\n    }"
}