def parse_deposit_address(self, depositAddress, currency=None):
    address = self.safe_string(depositAddress, 'address')
    tag = self.safe_string_2(depositAddress, 'tag', 'payment_id')
    tag = self.safe_string(depositAddress, 'memo', tag)
    currencyId = self.safe_string(depositAddress, 'currency')
    code = self.safe_currency_code(currencyId)
    self.check_address(address)
    return {'currency': code, 'address': address, 'tag': tag, 'info': depositAddress}
def parse_deposit_address(self, depositAddress, currency=None):
    address = self.safe_string(depositAddress, 'address')
    tag = self.safe_string_2(depositAddress, 'tag', 'payment_id')
    tag = self.safe_string(depositAddress, 'memo', tag)
    currencyId = self.safe_string(depositAddress, 'currency')
    code = self.safe_currency_code(currencyId)
    self.check_address(address)
    return {'currency': code, 'address': address, 'tag': tag, 'info': depositAddress}