text: // Copyright © 2017-2019 Trust Wallet.
  //
  // This file is part of Trust. The full Trust copyright notice, including
  // terms governing use, modification, and redistribution, is contained in the
  // file LICENSE at the root of the source code distribution tree.
  
  #pragma once
  #include "TWBase.h"
  
  TW_EXTERN_C_BEGIN
  
  ///  Registered human-readable parts for BIP-0173
  ///
  /// - SeeAlso: https://github.com/satoshilabs/slips/blob/master/slip-0173.md
  TW_EXPORT_ENUM()
  enum TWHRP {
      TWHRPUnknown     /* "" */,
      TWHRPBitcoin     /* "bc" */,
      TWHRPLitecoin    /* "ltc" */,
      TWHRPBitcoinCash /* "bitcoincash" */,
      TWHRPBinance     /* "bnb" */,
      TWHRPBinanceTest /* "tbnb" */,
  };
  
  static const char *_Nonnull HRP_BINANCE = "bnb";
  static const char *_Nonnull HRP_BINANCE_TEST = "tbnb";
  static const char *_Nonnull HRP_BITCOIN = "bc";
  static const char *_Nonnull HRP_BITCOINCASH = "bitcoincash";
  static const char *_Nonnull HRP_LITECOIN = "ltc";
  
  const char *_Nullable stringForHRP(enum TWHRP hrp);
  enum TWHRP hrpForString(const char *_Nonnull string);
  
  TW_EXTERN_C_END
  