Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
added burn address
Browse files Browse the repository at this point in the history
  • Loading branch information
snekper committed Jan 15, 2024
1 parent ed7877e commit 61de575
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/tokens/viper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => {
"addr1q9knde3r2wvhk8fjajchlfuh52k2jc2df65m9ymnxv4v85fkymz384ls0rwxwzx74xh4xc5adfrmhp9lr5m7p8gzmljq0s30ne", // devwallet
]);

const burnRaw = await getAmountInAddresses(blockFrost, VIPER, [
"addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4",
]);

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 61de575

Please sign in to comment.