```\nfunction setGlobalParameter(bytes32 key, uint256 value) public onlyWhitelistAdmin {\n    if (key == "withdrawalLockBlockCount") {\n        withdrawalLockBlockCount = value;\n    } else if (key == "brokerLockBlockCount") {\n        brokerLockBlockCount = value;\n    } else {\n        revert("key not exists");\n    }\n    emit UpdateGlobalParameter(key, value);\n}\n```\n