{
    "Function": "updateAddresses",
    "File": "contracts/implementations/recovery/StrategyControllerPaused.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/proxy/Initializable.sol",
        "contracts/StrategyControllerStorage.sol",
        "contracts/interfaces/IStrategyController.sol",
        "contracts/helpers/StrategyTypes.sol"
    ],
    "High-Level Calls": [
        "IOracle",
        "IOracle",
        "IStrategyProxyFactory",
        "IStrategyProxyFactory"
    ],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function updateAddresses() public {\n        IStrategyProxyFactory f = IStrategyProxyFactory(factory);\n        _whitelist = f.whitelist();\n        address o = f.oracle();\n        if (o != _oracle) {\n          IOracle ensoOracle = IOracle(o);\n          _oracle = o;\n          _weth = ensoOracle.weth();\n          _susd = ensoOracle.susd();\n        }\n    }"
}