Skip to content

Commit

Permalink
Update and rename chry to nova (#354)
Browse files Browse the repository at this point in the history
* Update chry

* Update chry

* Update and rename chry.ts to nova.ts

* Update index.ts

* Sort
  • Loading branch information
nexuscrypt authored Aug 5, 2024
1 parent 63b4b30 commit 8675bda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import cbtcFetcher from "./tokens/cbtc";
import cerraFetcher from "./tokens/cerra";
import cgiFetcher from "./tokens/cgi";
import charlyFetcher from "./tokens/charly";
import chryFetcher from "./tokens/chry";
import clapFetcher from "./tokens/clap";
import clarityFetcher from "./tokens/clarity";
import clayFetcher from "./tokens/clay";
Expand Down Expand Up @@ -103,6 +102,7 @@ import nikeFetcher from "./tokens/nike";
import ninjazFetcher from "./tokens/ninjaz";
import nmkrFetcher from "./tokens/nmkr";
import noelFetcher from "./tokens/noel";
import novaFetcher from "./tokens/nova";
import ntxFetcher from "./tokens/ntx";
import nvlFetcher from "./tokens/nvl";
import optFetcher from "./tokens/opt";
Expand Down Expand Up @@ -185,7 +185,7 @@ export const supplyFetchers: Record<string, SupplyFetcher> = {
"8fef2d34078659493ce161a6c7fba4b56afefa8535296a5743f6958741414441":
aadaFetcher,
"75fcc276057db5fc48eae0e11453c773c8a54604c3086bf9d95ac1b743485259":
chryFetcher,
novaFetcher,
"89267e9a35153a419e1b8ffa23e511ac39ea4e3b00452e9d500f2982436176616c6965724b696e67436861726c6573":
charlyFetcher,
db30c7905f598ed0154de14f970de0f61f0cb3943ed82c891968480a434c4150: clapFetcher,
Expand Down
4 changes: 2 additions & 2 deletions src/tokens/chry.ts → src/tokens/nova.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defaultFetcherOptions, SupplyFetcher } from "../types";
import { getAmountInAddresses, getBlockFrostInstance } from "../utils";

const CHRY = "75fcc276057db5fc48eae0e11453c773c8a54604c3086bf9d95ac1b743485259";
const NOVA = "75fcc276057db5fc48eae0e11453c773c8a54604c3086bf9d95ac1b743485259";
const TREASURY_ADDRESSES = [
"stake17ya8xvcc5h2mkeladwnw8vutr5qya3vau6z9dw7zgs6mmrgtqgz58",
"stake1u8ffzkegp8h48mare3g3ntf3xmjce3jqptsdtj38ee3yh3c9t4uum", // Community incentives + team tokens held at TosiDrop
Expand All @@ -11,7 +11,7 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => {
const blockFrost = getBlockFrostInstance(options);
const total = 88e6; // 88 million
const treasury = Number(
await getAmountInAddresses(blockFrost, CHRY, TREASURY_ADDRESSES)
await getAmountInAddresses(blockFrost, NOVA, TREASURY_ADDRESSES)
);

return {
Expand Down

0 comments on commit 8675bda

Please sign in to comment.