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

Commit

Permalink
Fix SPF fetcher (needs to be policy + name) (#156)
Browse files Browse the repository at this point in the history
Co-authored-by: jacobwarren44 <jacob@taptools.io>
  • Loading branch information
TheTapHouse and jacobwarren44 authored Oct 18, 2023
1 parent a9a08a5 commit 0517dfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@ export const supplyFetchers: Record<string, SupplyFetcher> = {
cswapFetcher,
"52162581184a457fad70470161179c5766f00237d4b67e0f1df1b4e65452544c":
trtlFetcher,
"09f2d4e4a5c3662f4c1e6a7d9600e9605279dbdcedb22d4507cb6e75": spfFetcher,
"09f2d4e4a5c3662f4c1e6a7d9600e9605279dbdcedb22d4507cb6e75535046": spfFetcher,
};
4 changes: 2 additions & 2 deletions src/tokens/spf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand All @@ -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(),
};
};
Expand Down

0 comments on commit 0517dfe

Please sign in to comment.