Skip to content

Commit

Permalink
Added $burnsnek wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
dunamis-ada committed Jul 23, 2024
1 parent 2354e3e commit 6dade49
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/tokens/fight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
};
};

Expand Down

0 comments on commit 6dade49

Please sign in to comment.