```\nfunction getBorrowETH(\n    address \_accountAddr\n) public view returns (uint256 borrowETH) {\n    uint tokenNum = globalConfig.tokenInfoRegistry().getCoinLength();\n    //console.log("tokenNum", tokenNum);\n    for(uint i = 0; i < tokenNum; i++) {\n        if(isUserHasBorrows(\_accountAddr, uint8(i))) {\n            address tokenAddress = globalConfig.tokenInfoRegistry().addressFromIndex(i);\n            uint divisor = INT\_UNIT;\n            if(tokenAddress != ETH\_ADDR) {\n                divisor = 10 \*\* uint256(globalConfig.tokenInfoRegistry().getTokenDecimals(tokenAddress));\n            }\n            borrowETH = borrowETH.add(getBorrowBalanceCurrent(tokenAddress, \_accountAddr).mul(globalConfig.tokenInfoRegistry().priceFromIndex(i)).div(divisor));\n        }\n    }\n    return borrowETH;\n}\n```\n