(self, networkizedCode, currency)
| 2568 | return self.safe_string(types, type, type) |
| 2569 | |
| 2570 | def get_currency_from_chaincode(self, networkizedCode, currency): |
| 2571 | if currency is not None: |
| 2572 | return currency |
| 2573 | else: |
| 2574 | parts = networkizedCode.split('_') |
| 2575 | partsLength = len(parts) |
| 2576 | firstPart = self.safe_string(parts, 0) |
| 2577 | currencyId = self.safe_string(parts, 1, firstPart) |
| 2578 | if partsLength > 2: |
| 2579 | currencyId += '_' + self.safe_string(parts, 2) |
| 2580 | currency = self.safe_currency(currencyId) |
| 2581 | return currency |
| 2582 | |
| 2583 | async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]: |
| 2584 | """ |
no test coverage detected