{
    "Function": "whitelistAddress",
    "File": "contracts/SecondSwap_Whitelist.sol",
    "Parent Contracts": [
        "contracts/interface/SecondSwap_IWhitelist.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function whitelistAddress() external {\n        require(totalWhitelist < maxWhitelist, \"SS_Whitelist: Reached whitelist limit\"); //3.9. Improper comparison in whitelistAddress function\n        require(userSettings[msg.sender] == false, \"SS_Whitelist: User is whitelisted\"); //3.9. Improper comparison in whitelistAddress function\n\n        userSettings[msg.sender] = true;\n        totalWhitelist++;\n        emit WhitelistedAddress(totalWhitelist, msg.sender);\n    }"
}