[input-output-hk/cardano-sl] [CO-347] Wallet’s UTXO histogram view (#3402)

KtorZ commented on this pull request.

> +
+
+deriveSafeBuildable »HistogramBar
+instance BuildableSafeGen HistogramBar where
+ buildSafeGen _ HistogramBarCount{..} =
+ bprint («{»
+ %» name=»%build
+ %» upperBound=»%build
+ %» }»)
+ bucketName
+ bucketUpperBound
+
+
+data UtxoStatistics = UtxoStatistics
+ { theHistogram :: ![HistogramBar]
+ , theAllStakes :: !Word64

Yes. I am just afraid about parsing `UtxoStatistics` from an external source but I guess this will never happen in the end :+1: