(entry)
| 3711 | return entry; |
| 3712 | } |
| 3713 | parseBalanceHelper(entry) { |
| 3714 | const account = this.account(); |
| 3715 | account['used'] = this.safeString(entry, 'locked'); |
| 3716 | account['free'] = this.safeString(entry, 'free'); |
| 3717 | const interest = this.safeString(entry, 'interest'); |
| 3718 | const debt = this.safeString(entry, 'borrowed'); |
| 3719 | account['debt'] = Precise.stringAdd(debt, interest); |
| 3720 | return account; |
| 3721 | } |
| 3722 | parseBalanceCustom(response, type = undefined, marginMode = undefined, isPortfolioMargin = false) { |
| 3723 | const result = { |
| 3724 | 'info': response, |
no test coverage detected