global: snapshot

This commit is contained in:
nym21
2026-03-05 16:11:25 +01:00
parent 6f2a87be4f
commit eedb8d22c1
61 changed files with 2035 additions and 2757 deletions

View File

@@ -37,7 +37,7 @@ export function buildCohortData() {
LT_AMOUNT_NAMES,
AMOUNT_RANGE_NAMES,
SPENDABLE_TYPE_NAMES,
YEAR_NAMES,
CLASS_NAMES,
} = brk;
// Base cohort representing "all"
@@ -224,11 +224,11 @@ export function buildCohortData() {
};
});
// Year cohorts
const year = entries(utxoCohorts.year)
// Class cohorts
const class_ = entries(utxoCohorts.class)
.reverse()
.map(([key, tree], i, arr) => {
const names = YEAR_NAMES[key];
const names = CLASS_NAMES[key];
return {
name: names.short,
title: names.long,
@@ -253,6 +253,6 @@ export function buildCohortData() {
addressesAmountRanges,
typeAddressable,
typeOther,
year,
class: class_,
};
}