{
    "Function": "getDeposits",
    "File": "src/contracts/core/StrategyManager.sol",
    "Parent Contracts": [
        "src/contracts/core/StrategyManagerStorage.sol",
        "src/contracts/interfaces/IStrategyManager.sol",
        "src/contracts/permissions/Pausable.sol",
        "src/contracts/interfaces/IPausable.sol",
        "lib/openzeppelin-contracts-upgradeable/contracts/security/ReentrancyGuardUpgradeable.sol",
        "lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol",
        "lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol",
        "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function getDeposits(address depositor) external view returns (IStrategy[] memory, uint256[] memory) {\n        uint256 strategiesLength = stakerStrategyList[depositor].length;\n        uint256[] memory shares = new uint256[](strategiesLength);\n\n        for (uint256 i = 0; i < strategiesLength;) {\n            shares[i] = stakerStrategyShares[depositor][stakerStrategyList[depositor][i]];\n            unchecked {\n                ++i;\n            }\n        }\n        return (stakerStrategyList[depositor], shares);\n    }"
}