{
    "Function": "_accrueAccountSupply",
    "File": "contracts/LendingPair.sol",
    "Parent Contracts": [
        "contracts/TransferHelper.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_lpRate",
        "_systemRate",
        "_mintSupply",
        "_newInterest",
        "_mintSupply",
        "feeRecipient"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _accrueAccountSupply(address _token, uint _amount, address _account) internal {\n    if (_amount > 0) {\n      uint supplyInterest   = _newInterest(_amount, _token, _account);\n      uint newSupplyAccount = supplyInterest * _lpRate(_token) / 100e18;\n      uint newSupplySystem  = supplyInterest * _systemRate(_token) / 100e18;\n\n      _mintSupply(_token, _account, newSupplyAccount);\n      _mintSupply(_token, feeRecipient(), newSupplySystem);\n    }\n  }"
}