diff --git a/src/config/index.ts b/src/config/index.ts index f613544..2225696 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -36,6 +36,7 @@ export const config = { apiUrl: '', verbose: false, genesisSHMSupply: 249000000, + burnedSupply: 500000, // 500,000 SHM burned dbPath: process.env.DB_PATH?.replace(/\/+$/, '') || '.', // remove rateLimit: 100, GTM_Id: '', diff --git a/src/stats/supplyStats.ts b/src/stats/supplyStats.ts index f67a7a5..23a59c4 100644 --- a/src/stats/supplyStats.ts +++ b/src/stats/supplyStats.ts @@ -221,7 +221,7 @@ export async function updateSupplyStatsCache(): Promise { const secureAccountsBalance = await calculateSecureAccountsBalance() - const circulatingSupply = BASE_SUPPLY - totalShmBurned + totalShmRewarded - secureAccountsBalance + const circulatingSupply = BASE_SUPPLY - totalShmBurned + totalShmRewarded - secureAccountsBalance - config.burnedSupply await saveSupplyStatsCache({ lastCycle: latestCycle,