{
    "Function": "savingsAccountTransfer",
    "File": "contracts/SavingsAccount/SavingsAccountUtil.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "ISavingsAccount",
        "ISavingsAccount"
    ],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function savingsAccountTransfer(\n        ISavingsAccount _savingsAccount,\n        address _from,\n        address _to,\n        uint256 _amount,\n        address _token,\n        address _strategy\n    ) internal returns (uint256) {\n        if (_from == address(this)) {\n            _savingsAccount.transfer(_amount, _token, _strategy, _to);\n        } else {\n            _savingsAccount.transferFrom(_amount, _token, _strategy, _from, _to);\n        }\n        return _amount;\n    }"
}