{
    "Function": "_transfer",
    "File": "src/LBToken.sol",
    "Parent Contracts": [
        "src/interfaces/ILBToken.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_add",
        "revert LBToken__TransferExceedsBalance(address,uint256,uint256)",
        "_remove",
        "_beforeTokenTransfer"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _transfer(\n        address _from,\n        address _to,\n        uint256 _id,\n        uint256 _amount\n    ) internal virtual {\n        uint256 _fromBalance = _balances[_id][_from];\n        if (_fromBalance < _amount) revert LBToken__TransferExceedsBalance(_from, _id, _amount);\n\n        _beforeTokenTransfer(_from, _to, _id, _amount);\n\n        uint256 _toBalance = _balances[_id][_to];\n\n        unchecked {\n            _balances[_id][_from] = _fromBalance - _amount;\n            _balances[_id][_to] = _toBalance + _amount;\n        }\n\n        _remove(_from, _id, _fromBalance, _amount);\n        _add(_to, _id, _toBalance, _amount);\n    }"
}