```\nfunction beginGlobalSettlement(uint256 price) public onlyWhitelistAdmin {\n    require(status != LibTypes.Status.SETTLED, "already settled");\n    settlementPrice = price;\n    status = LibTypes.Status.SETTLING;\n    emit BeginGlobalSettlement(price);\n}\n```\n