{
    "Function": "setMaxWhitelist",
    "File": "contracts/SecondSwap_Whitelist.sol",
    "Parent Contracts": [
        "contracts/interface/SecondSwap_IWhitelist.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)",
        "require(bool,string)",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function setMaxWhitelist(uint256 _maxWhitelist) external {\n        require(msg.sender == lotOwner, \"SS_Whitelist: not lot owner\");\n        require(\n            _maxWhitelist > maxWhitelist,\n            \"SS_Whitelist: amount cannot be lesser that the current whitelist amount\"\n        );\n        require(\n            _maxWhitelist > totalWhitelist,\n            \"SS_Whitelist: amount cannot be lesser that the current whitelist amount\"\n        );\n\n        maxWhitelist = _maxWhitelist;\n        emit ChangeMaxWhitelist(totalWhitelist, maxWhitelist);\n    }"
}