diff --git a/api/src/api/util/helpers.ts b/api/src/api/util/helpers.ts index a73351e..547e453 100644 --- a/api/src/api/util/helpers.ts +++ b/api/src/api/util/helpers.ts @@ -14,6 +14,7 @@ export function parseEtchingResponse(rune: DbRuneWithChainTip): EtchingResponse const total_burns = rune.total_burns == null ? '0' : rune.total_burns; if ( rune.terms_amount == null || + rune.cenotaph || (rune.terms_cap && BigNumber(total_mints).gte(rune.terms_cap)) || (rune.terms_height_start && BigNumber(rune.chain_tip).lt(rune.terms_height_start)) || (rune.terms_height_end && BigNumber(rune.chain_tip).gt(rune.terms_height_end)) || diff --git a/api/src/pg/types.ts b/api/src/pg/types.ts index bf7a678..ce058c4 100644 --- a/api/src/pg/types.ts +++ b/api/src/pg/types.ts @@ -17,6 +17,7 @@ type DbRune = { divisibility: number; premine: string; symbol: string; + cenotaph: boolean; terms_amount: string | null; terms_cap: string | null; terms_height_start: string | null;