{
    "Function": "addSupportedToken",
    "File": "contracts/hyphen/token/TokenManager.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/security/Pausable.sol",
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "contracts/hyphen/metatx/ERC2771Context.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol",
        "contracts/hyphen/interfaces/ITokenManager.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)",
        "require(bool,string)",
        "onlyOwner"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function addSupportedToken(\n        address tokenAddress,\n        uint256 minCapLimit,\n        uint256 maxCapLimit,\n        uint256 equilibriumFee,\n        uint256 maxFee\n    ) external onlyOwner {\n        require(tokenAddress != address(0), \"Token address cannot be 0\");\n        require(maxCapLimit > minCapLimit, \"maxCapLimit > minCapLimit\");\n        tokensInfo[tokenAddress].supportedToken = true;\n        transferConfig[tokenAddress].min = minCapLimit;\n        transferConfig[tokenAddress].max = maxCapLimit;\n        tokensInfo[tokenAddress].tokenConfig = transferConfig[tokenAddress];\n        tokensInfo[tokenAddress].equilibriumFee = equilibriumFee;\n        tokensInfo[tokenAddress].maxFee = maxFee;\n    }"
}