#include #include #include #include #include "utils.hpp" const char CURRENCY_USD = '$'; const char CURRENCY_EUR = '['; const char CURRENCY_GBP = '\\'; const char CURRENCY_JPY = ']'; const char CURRENCY_AUD = '^'; const char CURRENCY_CHF = '_'; const char CURRENCY_CAD = '`'; std::array parsePriceData(std::uint32_t price, char currency, bool useSuffixFormat = false); std::array parseSatsPerCurrency(std::uint32_t price, char currencySymbol, bool withSatsSymbol); std::array parseBlockHeight(std::uint32_t blockHeight); std::array parseHalvingCountdown(std::uint32_t blockHeight, bool asBlocks); std::array parseMarketCap(std::uint32_t blockHeight, std::uint32_t price, char currencySymbol, bool bigChars); std::array parseBlockFees(std::uint16_t blockFees); char getCurrencySymbol(char input); std::string getCurrencyCode(char input);