{
    "Function": "increaseDelegatedShares",
    "File": "src/contracts/core/DelegationManager.sol",
    "Parent Contracts": [
        "src/contracts/core/DelegationManagerStorage.sol",
        "src/contracts/interfaces/IDelegationManager.sol",
        "src/contracts/permissions/Pausable.sol",
        "src/contracts/interfaces/IPausable.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": [
        "onlyStrategyManager",
        "_delegationReceivedHook",
        "isDelegated"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function increaseDelegatedShares(address staker, IStrategy strategy, uint256 shares)\n        external\n        onlyStrategyManager\n    {\n        //if the staker is delegated to an operator\n        if (isDelegated(staker)) {\n            address operator = delegatedTo[staker];\n\n            // add strategy shares to delegate's shares\n            operatorShares[operator][strategy] += shares;\n\n            //Calls into operator's delegationTerms contract to update weights of individual staker\n            IStrategy[] memory stakerStrategyList = new IStrategy[](1);\n            uint256[] memory stakerShares = new uint[](1);\n            stakerStrategyList[0] = strategy;\n            stakerShares[0] = shares;\n\n            // call into hook in delegationTerms contract\n            IDelegationTerms dt = delegationTerms[operator];\n            _delegationReceivedHook(dt, staker, stakerStrategyList, stakerShares);\n        }\n    }"
}