2023-11-28 00:30:36 +00:00
|
|
|
#include <array>
|
|
|
|
#include <string>
|
|
|
|
#include <cmath>
|
2023-11-28 01:05:04 +00:00
|
|
|
#include <cstdint>
|
|
|
|
|
2023-11-28 00:30:36 +00:00
|
|
|
#include "utils.hpp"
|
|
|
|
|
2023-11-28 01:05:04 +00:00
|
|
|
std::array<std::string, NUM_SCREENS> parsePriceData(std::uint32_t price, char currencySymbol);
|
2024-03-10 11:35:20 +00:00
|
|
|
std::array<std::string, NUM_SCREENS> parseSatsPerCurrency(std::uint32_t price, char currencySymbol, bool withSatsSymbol);
|
2023-11-28 01:05:04 +00:00
|
|
|
std::array<std::string, NUM_SCREENS> parseBlockHeight(std::uint32_t blockHeight);
|
2024-03-10 11:35:20 +00:00
|
|
|
std::array<std::string, NUM_SCREENS> parseHalvingCountdown(std::uint32_t blockHeight, bool asBlocks);
|
2024-03-10 19:24:55 +00:00
|
|
|
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);
|