From 6dade49ed8f7057cff96b9e4a7326344cdec74b3 Mon Sep 17 00:00:00 2001 From: Dunamis <126212115+dunamis-ada@users.noreply.github.com> Date: Mon, 22 Jul 2024 23:54:49 -0500 Subject: [PATCH] Added $burnsnek wallet --- src/tokens/fight.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tokens/fight.ts b/src/tokens/fight.ts index e1d3b121..da12177e 100644 --- a/src/tokens/fight.ts +++ b/src/tokens/fight.ts @@ -9,10 +9,14 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const treasuryRaw = await getAmountInAddresses(blockFrost, FIGHT, [ "stake1uygzdup55m354t6nx9nlj9eqhquh5rfue4tzm3yppaxr6vgz6cspc", // $fight.coin ]); + const burnRaw = await getAmountInAddresses(blockFrost, FIGHT, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // $burnsnek + ]); const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); return { - circulating: (total - treasury).toString(), - total: total.toString(), + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), }; };