{
    "Function": "shutdownSystem",
    "File": "contracts/Booster.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IStaker"
    ],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function shutdownSystem() external {\n        require(msg.sender == owner, \"!auth\");\n        isShutdown = true;\n\n        for (uint256 i = 0; i < poolInfo.length; i++) {\n            PoolInfo storage pool = poolInfo[i];\n            if (pool.shutdown) continue;\n\n            address token = pool.lptoken;\n            address gauge = pool.gauge;\n\n            //withdraw from gauge\n            try IStaker(staker).withdrawAll(token, gauge) {\n                pool.shutdown = true;\n            } catch {}\n        }\n        emit SystemShuttedDown();\n    }"
}