{
    "Function": "_stakeMore",
    "File": "src/UniStaker.sol",
    "Parent Contracts": [
        "lib/openzeppelin-contracts/contracts/utils/Nonces.sol",
        "lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol",
        "lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol",
        "lib/openzeppelin-contracts/contracts/utils/Multicall.sol",
        "src/interfaces/INotifiableRewardReceiver.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_checkpointReward",
        "_checkpointGlobalReward",
        "_stakeTokenSafeTransferFrom"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _stakeMore(Deposit storage deposit, DepositIdentifier _depositId, uint256 _amount)\n    internal\n  {\n    _checkpointGlobalReward();\n    _checkpointReward(deposit.beneficiary);\n\n    DelegationSurrogate _surrogate = surrogates[deposit.delegatee];\n\n    totalStaked += _amount;\n    depositorTotalStaked[deposit.owner] += _amount;\n    earningPower[deposit.beneficiary] += _amount;\n    deposit.balance += _amount;\n    _stakeTokenSafeTransferFrom(deposit.owner, address(_surrogate), _amount);\n    emit StakeDeposited(deposit.owner, _depositId, _amount, deposit.balance);\n  }"
}