mirror of
https://github.com/btclock/btclock_v3.git
synced 2024-11-19 07:40:01 +01:00
14 lines
740 B
C++
14 lines
740 B
C++
#include <array>
|
|
#include <string>
|
|
#include <cmath>
|
|
#include <cstdint>
|
|
|
|
#include "utils.hpp"
|
|
|
|
std::array<std::string, NUM_SCREENS> parsePriceData(std::uint32_t price, char currencySymbol, bool useSuffixFormat = false);
|
|
std::array<std::string, NUM_SCREENS> parseSatsPerCurrency(std::uint32_t price, char currencySymbol, bool withSatsSymbol);
|
|
std::array<std::string, NUM_SCREENS> parseBlockHeight(std::uint32_t blockHeight);
|
|
std::array<std::string, NUM_SCREENS> parseHalvingCountdown(std::uint32_t blockHeight, bool asBlocks);
|
|
std::array<std::string, NUM_SCREENS> parseMarketCap(std::uint32_t blockHeight, std::uint32_t price, char currencySymbol, bool bigChars);
|
|
std::array<std::string, NUM_SCREENS> parseBlockFees(std::uint16_t blockFees);
|