From 0517dfef53183d16110885c44270032134b8265b Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:09:09 -0400 Subject: [PATCH] Fix SPF fetcher (needs to be policy + name) (#156) Co-authored-by: jacobwarren44 --- src/index.ts | 2 +- src/tokens/spf.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 20b825ce..299c9f3c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -209,5 +209,5 @@ export const supplyFetchers: Record = { cswapFetcher, "52162581184a457fad70470161179c5766f00237d4b67e0f1df1b4e65452544c": trtlFetcher, - "09f2d4e4a5c3662f4c1e6a7d9600e9605279dbdcedb22d4507cb6e75": spfFetcher, + "09f2d4e4a5c3662f4c1e6a7d9600e9605279dbdcedb22d4507cb6e75535046": spfFetcher, }; diff --git a/src/tokens/spf.ts b/src/tokens/spf.ts index 1a31498d..d7a31e1b 100644 --- a/src/tokens/spf.ts +++ b/src/tokens/spf.ts @@ -4,7 +4,7 @@ import { getBlockFrostInstance, } from "../utils"; -const SPF = "09f2d4e4a5c3662f4c1e6a7d9600e9605279dbdcedb22d4507cb6e75"; +const SPF = "09f2d4e4a5c3662f4c1e6a7d9600e9605279dbdcedb22d4507cb6e75535046"; const SPECTRUM_NETWORK_VAULT_ADDRESSES = ["addr1v8njca4vkseetespu6jjtlk25sy46ya3qvrcp7n5c7zy9esj2g22a"]; const SPF_TREASURY_ADDRESSES = ["addr1vy8h9l37fzdwpq8etmftagdc80trh9jjg0avt3je26szu8g820gnj"]; @@ -27,7 +27,7 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { 1e6; return { - circulating: (total - treasury + spnVault + unclaimed).toString(), + circulating: (total - treasury - spnVault - unclaimed).toString(), total: total.toString(), }; };