{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/StabilizedPoolExtensions/StabilizedPoolUnit.sol",
    "Parent Contracts": [
        "contracts/Permissions.sol",
        "lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol",
        "lib/openzeppelin-contracts/contracts/access/AccessControl.sol",
        "lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol",
        "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol",
        "lib/openzeppelin-contracts/contracts/access/IAccessControl.sol",
        "lib/openzeppelin-contracts/contracts/utils/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "abstract contract StabilizedPoolUnit is Permissions {\n  bytes32 public immutable POOL_FACTORY_ROLE;\n  bytes32 public immutable POOL_UPDATER_ROLE;\n  bytes32 public immutable STABILIZER_NODE_ROLE;\n  bytes32 public immutable LIQUIDITY_MINE_ROLE;\n  bytes32 public immutable AUCTION_ROLE;\n  bytes32 public immutable REWARD_THROTTLE_ROLE;\n\n  bool internal contractActive;\n\n  /* Permanent Members */\n  IBurnMintableERC20 public malt;\n  ERC20 public collateralToken;\n  IUniswapV2Pair public stakeToken;\n\n  /* Updatable */\n  IStabilizedPoolFactory public poolFactory;\n\n  event SetPoolUpdater(address updater);\n\n  constructor(\n    address _timelock,\n    address _repository,\n    address _poolFactory\n  ) {\n    require(_timelock != address(0), \"Timelock addr(0)\");\n    require(_repository != address(0), \"Repo addr(0)\");\n    _initialSetup(_repository);\n\n    POOL_FACTORY_ROLE = 0x598cee9ad6a01a66130d639a08dbc750d4a51977e842638d2fc97de81141dc74;\n    POOL_UPDATER_ROLE = 0xb70e81d43273d7b57d823256e2fd3d6bb0b670e5f5e1253ffd1c5f776a989c34;\n    STABILIZER_NODE_ROLE = 0x9aebf7c4e2f9399fa54d66431d5afb53d5ce943832be8ebbced058f5450edf1b;\n    LIQUIDITY_MINE_ROLE = 0xb8fddb29c347bbf5ee0bb24db027d53d603215206359b1142519846b9c87707f;\n    AUCTION_ROLE = 0xc5e2d1653feba496cf5ce3a744b90ea18acf0df3d036aba9b2f85992a1467906;\n    REWARD_THROTTLE_ROLE = 0x0beda4984192b677bceea9b67542fab864a133964c43188171c1c68a84cd3514;\n    _roleSetup(\n      0x598cee9ad6a01a66130d639a08dbc750d4a51977e842638d2fc97de81141dc74,\n      _poolFactory\n    );\n    _setupRole(\n      0x598cee9ad6a01a66130d639a08dbc750d4a51977e842638d2fc97de81141dc74,\n      _timelock\n    );\n    _roleSetup(\n      0x9aebf7c4e2f9399fa54d66431d5afb53d5ce943832be8ebbced058f5450edf1b,\n      _timelock\n    );\n    _roleSetup(\n      0xb8fddb29c347bbf5ee0bb24db027d53d603215206359b1142519846b9c87707f,\n      _timelock\n    );\n    _roleSetup(\n      0xc5e2d1653feba496cf5ce3a744b90ea18acf0df3d036aba9b2f85992a1467906,\n      _timelock\n    );\n    _roleSetup(\n      0x0beda4984192b677bceea9b67542fab864a133964c43188171c1c68a84cd3514,\n      _timelock\n    );\n\n    poolFactory = IStabilizedPoolFactory(_poolFactory);\n  }\n\n  function setPoolUpdater(address _updater)\n    internal\n    onlyRoleMalt(POOL_FACTORY_ROLE, \"Must have pool factory role\")\n  {\n    _setPoolUpdater(_updater);\n  }\n\n  function _setPoolUpdater(address _updater) internal {\n    require(_updater != address(0), \"Cannot use addr(0)\");\n    _grantRole(POOL_UPDATER_ROLE, _updater);\n    emit SetPoolUpdater(_updater);\n  }\n\n  modifier onlyActive() {\n    require(contractActive, \"Contract not active\");\n    _;\n  }\n}"
}