From 301a3d6b8b5040be26aa1dd89bed493e408270d8 Mon Sep 17 00:00:00 2001 From: ctvvaultkeeper Date: Sat, 22 Jun 2024 15:10:41 -0400 Subject: [PATCH] Clean Up clean up --- src/tokens/ctv.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/tokens/ctv.ts b/src/tokens/ctv.ts index 5dbc48fd..ac248217 100644 --- a/src/tokens/ctv.ts +++ b/src/tokens/ctv.ts @@ -3,19 +3,16 @@ import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; const CTV = "9f452e23804df3040b352b478039357b506ad3b50d2ce0d7cbd5f806435456"; -// Define the treasury addresses for the CTV token const TREASURY_ADDRESSES = [ - "addr1qyjwhsj246x8nf9evkadxtt0crgg2qjp7mk76zdnm38r0qp397a6yhn3qpzwt3ekwvtmptfxd8427egmlrrmufxvkgtsna5evs", // $ctv4vaults - Vault Seeker NFT Staking Rewards - "addr1qy5u9xul7vfhn3gvk68zzqfxxl6uxy5n7j3kq39aet06f4qh8u90v36crqhfj4stq2vmj98lyqzryd5nfg4j5ca6cjmqq9xzgt", // $ctv_reserve - Community controlled reserves - // Add more treasury addresses as needed + "addr1qyjwhsj246x8nf9evkadxtt0crgg2qjp7mk76zdnm38r0qp397a6yhn3qpzwt3ekwvtmptfxd8427egmlrrmufxvkgtsna5evs", // $ctv4vaults - vault seeker nft staking rewards + "addr1qy5u9xul7vfhn3gvk68zzqfxxl6uxy5n7j3kq39aet06f4qh8u90v36crqhfj4stq2vmj98lyqzryd5nfg4j5ca6cjmqq9xzgt", // $ctv_reserve - community controlled reserves ]; const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const blockFrost = getBlockFrostInstance(options); - const total = 1e9; // Define the total supply of CTV, adjust as needed + const total = 100_000_000; const treasury = - Number(await getAmountInAddresses(blockFrost, CTV, TREASURY_ADDRESSES)) / - 1e6; // Assuming 6 decimal places + Number(await getAmountInAddresses(blockFrost, CTV, TREASURY_ADDRESSES)); return { circulating: (total - treasury).toString(), total: total.toString(),