{
    "Function": "_transfer",
    "File": "contracts/LPTokenMaster.sol",
    "Parent Contracts": [
        "contracts/external/Ownable.sol"
    ],
    "High-Level Calls": [
        "ILendingPair",
        "ILendingPair",
        "ILendingPair",
        "ILendingPair"
    ],
    "Internal Calls": [
        "require(bool,string)",
        "require(bool,string)",
        "require(bool,string)",
        "underlying",
        "underlying",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _transfer(address _sender, address _recipient, uint _amount) internal {\n    require(_sender != address(0), \"ERC20: transfer from the zero address\");\n    require(_recipient != address(0), \"ERC20: transfer to the zero address\");\n    require(balanceOf[_sender] >= _amount, \"ERC20: insufficient funds\");\n\n    ILendingPair pair = ILendingPair(owner);\n    pair.accrueAccount(_sender);\n    pair.accrueAccount(_recipient);\n\n    balanceOf[_sender] -= _amount;\n    balanceOf[_recipient] += _amount;\n\n    pair.checkAccountHealth(_sender);\n\n    require(\n      pair.borrowBalance(_recipient, underlying(), underlying()) == 0,\n      \"LendingPair: cannot deposit borrowed token\"\n    );\n\n    emit Transfer(_sender, _recipient, _amount);\n  }"
}