From 089f3ccb8e50f5eccb8148b243d432cbe7ef4186 Mon Sep 17 00:00:00 2001 From: Dmitry Osipov Date: Sun, 26 Nov 2023 11:21:22 +0100 Subject: [PATCH] add constant with amount of tokens sent to coinbase --- src/calculators/circulation-supply.js | 3 ++- src/consts.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calculators/circulation-supply.js b/src/calculators/circulation-supply.js index 06c14eb..2fe18ba 100644 --- a/src/calculators/circulation-supply.js +++ b/src/calculators/circulation-supply.js @@ -12,6 +12,7 @@ import { CUSTODY, AIRDROP_3RD_PARTY_1, DECIMALS, + SENT_TO_CB, } from '../consts.js'; import { totalSupply } from './total-supply.js'; @@ -94,7 +95,7 @@ export async function circulationSupply() { getBalances(addresses), ]); - const total = pools.reduce((accumulator, current) => accumulator + current, 0) + vesting + staking; + const total = pools.reduce((accumulator, current) => accumulator + current, 0) + vesting + staking + SENT_TO_CB; return supply - total; } diff --git a/src/consts.js b/src/consts.js index b7d9fd9..04c0a1b 100644 --- a/src/consts.js +++ b/src/consts.js @@ -27,4 +27,6 @@ export const CUSTODY = [ 'kGiVY7G1mJkqaAjKzLnRmwCy5GcvuGQvG5mUtojhVHdLfBd1P', ]; +export const SENT_TO_CB = 309_999_000; + export const DECIMALS = 12;