From 4276328b4ec696d5897bc4515079232219889d16 Mon Sep 17 00:00:00 2001 From: gitpool <71734613+poolstakes@users.noreply.github.com> Date: Thu, 14 Mar 2024 07:24:14 -0400 Subject: [PATCH 01/62] update DADDY circ supply with burns (#256) * add daddy token * add daddy * Update daddy.ts * Update index.ts * Update daddy.ts updates include updating circulating supply by deducting burned tokens from SNEK burn address * fix(): run format * fix(): run format on all tokens * fix(): total supply * undo prev commit * feat: add isNaN validation * fix: catch error for $mnt axios request * fix: total supply for $mnt * fix(): undo formatting for unrelated files * fix(): undo catch-error for $mnt * fix(): format index --------- Co-authored-by: Ben Elferink --- src/index.ts | 3 +++ src/tokens/daddy.ts | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/tokens/daddy.ts diff --git a/src/index.ts b/src/index.ts index ee6276f5..aa024a77 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,6 +23,7 @@ import cnctFetcher from "./tokens/cnct"; import cnetaFetcher from "./tokens/cneta"; import copiFetcher from "./tokens/copi"; import cswapFetcher from "./tokens/cswap"; +import daddyFetcher from "./tokens/daddy"; import danaFetcher from "./tokens/dana"; import derpFetcher from "./tokens/derp"; import dgafFetcher from "./tokens/dgaf"; @@ -297,6 +298,8 @@ export const supplyFetchers: Record = { milkv2Fetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb147273455247": rsergFetcher, + "6e6098846537ca48ff18eac70b7f5040c69ba2c5570521b6eb00fdf56461646479": + daddyFetcher, ea153b5d4864af15a1079a94a0e2486d6376fa28aafad272d15b243a0014df10536861726473: shardsFetcher, "017af5d958fffdf65f3e5b8b3ff5abefd210a03464a9fc48ea0f4a390014df10574c4b": diff --git a/src/tokens/daddy.ts b/src/tokens/daddy.ts new file mode 100644 index 00000000..37e7a67f --- /dev/null +++ b/src/tokens/daddy.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const DADDY = + "6e6098846537ca48ff18eac70b7f5040c69ba2c5570521b6eb00fdf56461646479"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + + const total = 100_000_000_000; + + const burnRaw = await getAmountInAddresses(blockFrost, DADDY, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // SNEK burn address + ]); + + let burn = Number(burnRaw); + if (Number.isNaN(burn)) burn = 0; + + return { + circulating: (total - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 1439b028eb0d74dbe0a14c1209a4f3eeb18ac02d Mon Sep 17 00:00:00 2001 From: Boon <158146065+booncoinada@users.noreply.github.com> Date: Sat, 16 Mar 2024 19:18:08 +0100 Subject: [PATCH 02/62] adds booncoin calculations (#278) --- src/index.ts | 3 +++ src/tokens/boon.ts | 62 ++++++++++++++++++++++++++++++++++++++++++++++ src/tokens/nmkr.ts | 13 +++++----- 3 files changed, 71 insertions(+), 7 deletions(-) create mode 100644 src/tokens/boon.ts diff --git a/src/index.ts b/src/index.ts index aa024a77..5af04f11 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,6 +7,7 @@ import awooFetcher from "./tokens/awoo"; import axoFetcher from "./tokens/axo"; import bankFetcher from "./tokens/bank"; import bookFetcher from "./tokens/book"; +import boonFetcher from "./tokens/boon"; import btnFetcher from "./tokens/btn"; import bubbleFetcher from "./tokens/bubble"; import c3Fetcher from "./tokens/c3"; @@ -305,4 +306,6 @@ export const supplyFetchers: Record = { "017af5d958fffdf65f3e5b8b3ff5abefd210a03464a9fc48ea0f4a390014df10574c4b": wlkFetcher, "016be5325fd988fea98ad422fcfd53e5352cacfced5c106a932a35a442544e": btnFetcher, + "1cd92100fc05fce7416b3857a079780164eeaf8f5613f4b814f24e09426f6f6e436f696e": + boonFetcher, }; diff --git a/src/tokens/boon.ts b/src/tokens/boon.ts new file mode 100644 index 00000000..2da308c8 --- /dev/null +++ b/src/tokens/boon.ts @@ -0,0 +1,62 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const BOON = + "1cd92100fc05fce7416b3857a079780164eeaf8f5613f4b814f24e09426f6f6e436f696e"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 77_777_777_777; + + const donationRaw = await getAmountInAddresses(blockFrost, BOON, [ + "addr1qy6up60du0r2rufjwsrf457jyssm9xnsysmgaqq934pf9gyv7h2adx0trglt75d4m0uaccftfnekt54fm9lxldfantjqyrejes", + ]); + + const farmingRaw = await getAmountInAddresses(blockFrost, BOON, [ + "addr1q8wvyukwhvykzv3tc039wyj7udygg983daz673lemq7d6h9r3vsw8l62684wlvtzrsxm27hmhl7y9ulsruaxtvmuclcqw544l5", + ]); + + const liquidityPoolRaw = await getAmountInAddresses(blockFrost, BOON, [ + "addr1qxulpxynvfzxak6t6s3483f4wzq45vqssy50s378wg4g7dlq5udt9geu2937fcpfej9m4tk72y7v8ajqka9uayrp9sdq6gkwcy", + ]); + + const marketingRaw = await getAmountInAddresses(blockFrost, BOON, [ + "addr1qyn3efzf9hmxx7ep3d4mmuu7mkgthpgxfj5t5t7ws86yj6cdr6e7utkyhethe4rylepdlf7983dwwd3ge6zpcervvdasjys8tg", + ]); + + const presaleRaw = await getAmountInAddresses(blockFrost, BOON, [ + "addr1q9cej5hv7ayne342eee3yef3zlkaxaglx2upy0r0505xmlshuewv0v8ud8ncya6uarc7vekx0260tyfrgtr272032lrqj4g88j", + ]); + + const reserveRaw = await getAmountInAddresses(blockFrost, BOON, [ + "addr1qx9z7ldyrsqxx5alw8n4cpsy2q464fud62wuwqudrk5k0k7apqpv3s6z9h8we5svv6d806p9ed6yzjtt07kq6m6t6c8qzy9zcd", + ]); + + const giveawayRaw = await getAmountInAddresses(blockFrost, BOON, [ + "addr1qx62z87cxhxvcdmkd8qraw2fswva740msqgp3nw9peu62pgz0jyzekf0xrewx2u8rfakpfty7hdp5vttsmgmg0lzhfaspua7vx", + ]); + + const donation = Number(donationRaw); + const farming = Number(farmingRaw); + const liquidityPool = Number(liquidityPoolRaw); + const marketing = Number(marketingRaw); + const presale = Number(presaleRaw); + const reserve = Number(reserveRaw); + const giveaway = Number(giveawayRaw); + + return { + circulating: ( + total - + donation - + farming - + liquidityPool - + marketing - + presale - + reserve - + giveaway + ).toString(), + total: total.toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/nmkr.ts b/src/tokens/nmkr.ts index 2b85f01a..b3efaf15 100644 --- a/src/tokens/nmkr.ts +++ b/src/tokens/nmkr.ts @@ -3,17 +3,16 @@ import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; const NMKR = "5dac8536653edc12f6f5e1045d8164b9f59998d3bdc300fc928434894e4d4b52"; - const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { -const blockFrost = getBlockFrostInstance(options); -const total = Number(10_000_000_000); -const treasuryRaw = await getAmountInAddresses(blockFrost, NMKR, [ - "addr1q9j2atke2qg7ljjm795u2mf4wf4f2uk35f5t7984t62kqtxh7t5nw0qtt7g322gtayqrr7zmpvdrf24kc284uwmhqgas34y7tg", -]); + const blockFrost = getBlockFrostInstance(options); + const total = Number(10_000_000_000); + const treasuryRaw = await getAmountInAddresses(blockFrost, NMKR, [ + "addr1q9j2atke2qg7ljjm795u2mf4wf4f2uk35f5t7984t62kqtxh7t5nw0qtt7g322gtayqrr7zmpvdrf24kc284uwmhqgas34y7tg", + ]); const treasury = Number(treasuryRaw) / 1e6; return { circulating: (total - treasury).toString(), - total: (total).toString(), + total: total.toString(), }; }; From 13b690922d5bb8487e149591f376b904ec57b065 Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Mon, 25 Mar 2024 20:32:12 -0400 Subject: [PATCH 03/62] levvywifhat circ supply (#277) Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/lwh.ts | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/tokens/lwh.ts diff --git a/src/index.ts b/src/index.ts index 5af04f11..a10b9b0c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -58,6 +58,7 @@ import lccFetcher from "./tokens/lcc"; import lifiFetcher from "./tokens/lifi"; import lobsterFetcher from "./tokens/lobster"; import liqwidFetcher from "./tokens/lq"; +import lwhFetcher from "./tokens/lwh"; import mayzFetcher from "./tokens/mayz"; import meldFetcher from "./tokens/meld"; import milkFetcher from "./tokens/milk"; @@ -306,6 +307,8 @@ export const supplyFetchers: Record = { "017af5d958fffdf65f3e5b8b3ff5abefd210a03464a9fc48ea0f4a390014df10574c4b": wlkFetcher, "016be5325fd988fea98ad422fcfd53e5352cacfced5c106a932a35a442544e": btnFetcher, + defe216460d594211631fcfbd354f361c04645d6a0cfeead3d6f62836c65767679776966686174: + lwhFetcher, "1cd92100fc05fce7416b3857a079780164eeaf8f5613f4b814f24e09426f6f6e436f696e": boonFetcher, }; diff --git a/src/tokens/lwh.ts b/src/tokens/lwh.ts new file mode 100644 index 00000000..6e8c0604 --- /dev/null +++ b/src/tokens/lwh.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const LWH = "defe216460d594211631fcfbd354f361c04645d6a0cfeead3d6f62836c65767679776966686174"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { +const blockFrost = getBlockFrostInstance(options); +const total = Number(100_000_000); +const treasuryRaw = await getAmountInAddresses(blockFrost, LWH, [ + "stake1u9dz7rdqnx4rthc3rn9nt9mtvzve8tv6ek809c8z9ld89lspvnq2g", + "stake1u9u5ema2qm8wthrkf7gc8423sg24ey0ucpw6cknhymt2uysclzez4", + "stake1ux04u6ru8dduhsscza3309f2a86dxlzw6mx30va665d489gm2enja", + "stake1uyn63uqt3aqjlq7gvtqh33zdvl4u8g9dj62q9svly24l50ck7p4kh", + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", + "stake1u997nsgekunxnauepkhz57prz86clz7tm0fwgclnv3pupzg095yak", + "stake1u96vnsecj2dp6zeae8ywptp4u3fghkes8vrmwwpfwl47jysv8ksma" +]); + const treasury = Number(treasuryRaw); + return { + circulating: (total - treasury).toString(), + total: (total).toString(), + }; +}; + +export default fetcher; From cb1367b8c2dc1c343bc84796d434d6b58b7f5e8a Mon Sep 17 00:00:00 2001 From: XRAY | Robot <38279597+xray-robot@users.noreply.github.com> Date: Tue, 26 Mar 2024 03:33:32 +0300 Subject: [PATCH 04/62] XRAY token (#280) --- src/index.ts | 3 +++ src/tokens/xray.ts | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/tokens/xray.ts diff --git a/src/index.ts b/src/index.ts index a10b9b0c..344e927a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -109,6 +109,7 @@ import wolfFetcher from "./tokens/wolf"; import workFetcher from "./tokens/work"; import wozFetcher from "./tokens/woz"; import wrtFetcher from "./tokens/wrt"; +import xrayFetcher from "./tokens/xray"; import xvyfiFetcher from "./tokens/xvyfi"; import yummiFetcher from "./tokens/yummi"; import { SupplyFetcher } from "./types"; @@ -311,4 +312,6 @@ export const supplyFetchers: Record = { lwhFetcher, "1cd92100fc05fce7416b3857a079780164eeaf8f5613f4b814f24e09426f6f6e436f696e": boonFetcher, + "86abe45be4d8fb2e8f28e8047d17d0ba5592f2a6c8c452fc88c2c14358524159": + xrayFetcher, }; diff --git a/src/tokens/xray.ts b/src/tokens/xray.ts new file mode 100644 index 00000000..aae5ea29 --- /dev/null +++ b/src/tokens/xray.ts @@ -0,0 +1,21 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const XRAY = "86abe45be4d8fb2e8f28e8047d17d0ba5592f2a6c8c452fc88c2c14358524159"; +const TREASURY_ADDRESSES = [ + "addr1qyc98ysmvxunqslu3y5t9gpt2mm8dp3puylpq7n5n908jldw8w6w5nmvw86ullauxldxdjsfauyrattxw6yevxp72nnsq3lt0u", // stage2 fund +]; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 324_922_240; + const treasury = + Number(await getAmountInAddresses(blockFrost, XRAY, TREASURY_ADDRESSES)) / + 1e6; + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 1dc128c096b577d2fa0a00539685d73a79a4fca7 Mon Sep 17 00:00:00 2001 From: tehsoul <127198586+tehsoul@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:03:48 +0200 Subject: [PATCH 05/62] Add PORKE token (#288) * Add PORKE token * Update porke.ts * ran prettier * Update porke.ts --- src/index.ts | 3 +++ src/tokens/porke.ts | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/tokens/porke.ts diff --git a/src/index.ts b/src/index.ts index 344e927a..e3f108b8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -79,6 +79,7 @@ import optFetcher from "./tokens/opt"; import optimFetcher from "./tokens/optim"; import paviaFetcher from "./tokens/pavia"; import pepeblueFetcher from "./tokens/pepeblue"; +import porkeFetcher from "./tokens/porke"; import proxiesFetcher from "./tokens/proxies"; import prsprFetcher from "./tokens/prspr"; import pugchipFetcher from "./tokens/pugchip"; @@ -314,4 +315,6 @@ export const supplyFetchers: Record = { boonFetcher, "86abe45be4d8fb2e8f28e8047d17d0ba5592f2a6c8c452fc88c2c14358524159": xrayFetcher, + "8c904e09d2ba206d78e6904133659dadf827e478a8f71beb8e4a823a504f524b45": + porkeFetcher, }; diff --git a/src/tokens/porke.ts b/src/tokens/porke.ts new file mode 100644 index 00000000..0ca042a4 --- /dev/null +++ b/src/tokens/porke.ts @@ -0,0 +1,11 @@ +import { SupplyFetcher } from "../types"; + +const fetcher: SupplyFetcher = async () => { + const total = 1_000_000_001; // 1B + return { + circulating: total.toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 22b04ab57f35b1e86ac18274b5118d0379a18a04 Mon Sep 17 00:00:00 2001 From: adakondacoin <135918761+adakondacoin@users.noreply.github.com> Date: Wed, 24 Apr 2024 00:32:59 +0200 Subject: [PATCH 06/62] Add $Fren token info (#208) * Create fren.ts * Update fren.ts * Update fren.ts * Update fren.ts * Update index.ts * Update fren.ts * Update index.ts * Update index.ts * Update index.ts * Fix prettier and eslint formatting --------- Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> Co-authored-by: patrik --- package-lock.json | 143 +++++++++++++++++++++++++-------------------- package.json | 1 + src/index.ts | 2 + src/tokens/fren.ts | 27 +++++++++ 4 files changed, 111 insertions(+), 62 deletions(-) create mode 100644 src/tokens/fren.ts diff --git a/package-lock.json b/package-lock.json index 515aeba8..7bea3c99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "MIT", "dependencies": { "@blockfrost/blockfrost-js": "^5.2.0", + "@minswap/market-cap": "^0.1.12", "axios": "^1.3.3" }, "devDependencies": { @@ -2983,6 +2984,15 @@ "@jridgewell/sourcemap-codec": "1.4.14" } }, + "node_modules/@minswap/market-cap": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@minswap/market-cap/-/market-cap-0.1.12.tgz", + "integrity": "sha512-FledfUjiWkcuOk2LBKW9E9QRu5FknMWPmemINIxUKn8XKUQnYr9A6y77s7hUBOgB6aTB8PnzKzlDWHqwZENTxQ==", + "dependencies": { + "@blockfrost/blockfrost-js": "^5.2.0", + "axios": "^1.3.3" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -3401,9 +3411,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -3545,9 +3555,9 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -3604,9 +3614,9 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -3773,9 +3783,9 @@ } }, "node_modules/assert-node-version/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "bin": { "semver": "bin/semver" } @@ -3794,11 +3804,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.3.tgz", - "integrity": "sha512-eYq77dYIFS77AQlhzEL937yUBSepBfPIe8FcgEDN35vMNZKMrs81pgnyrQpwfy4NF4b4XWX1Zgx7yX+25w8QJA==", + "version": "1.6.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", + "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -5288,9 +5298,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", @@ -7014,9 +7024,9 @@ } }, "node_modules/jest-runtime/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -7152,9 +7162,9 @@ } }, "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -9044,9 +9054,9 @@ ] }, "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -9649,9 +9659,9 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, "engines": { "node": ">=0.10.0" @@ -11850,6 +11860,15 @@ "@jridgewell/sourcemap-codec": "1.4.14" } }, + "@minswap/market-cap": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@minswap/market-cap/-/market-cap-0.1.12.tgz", + "integrity": "sha512-FledfUjiWkcuOk2LBKW9E9QRu5FknMWPmemINIxUKn8XKUQnYr9A6y77s7hUBOgB6aTB8PnzKzlDWHqwZENTxQ==", + "requires": { + "@blockfrost/blockfrost-js": "^5.2.0", + "axios": "^1.3.3" + } + }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -12218,9 +12237,9 @@ } }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -12299,9 +12318,9 @@ } }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -12341,9 +12360,9 @@ } }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -12465,9 +12484,9 @@ }, "dependencies": { "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" } } }, @@ -12485,11 +12504,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.3.tgz", - "integrity": "sha512-eYq77dYIFS77AQlhzEL937yUBSepBfPIe8FcgEDN35vMNZKMrs81pgnyrQpwfy4NF4b4XWX1Zgx7yX+25w8QJA==", + "version": "1.6.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", + "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", "requires": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -13584,9 +13603,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==" }, "form-data": { "version": "4.0.0", @@ -14834,9 +14853,9 @@ } }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -14941,9 +14960,9 @@ } }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -16259,9 +16278,9 @@ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true }, "shebang-command": { @@ -16679,9 +16698,9 @@ } }, "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true }, "wordwrap": { diff --git a/package.json b/package.json index 992bff49..139bc248 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "homepage": "https://github.com/minswap/market-cap#readme", "dependencies": { "@blockfrost/blockfrost-js": "^5.2.0", + "@minswap/market-cap": "^0.1.12", "axios": "^1.3.3" }, "lint-staged": { diff --git a/src/index.ts b/src/index.ts index e3f108b8..7e62d126 100644 --- a/src/index.ts +++ b/src/index.ts @@ -38,6 +38,7 @@ import fetFetcher from "./tokens/fet"; import fireFetcher from "./tokens/fire"; import flacFetcher from "./tokens/flac"; import fldtFetcher from "./tokens/fldt"; +import frenFetcher from "./tokens/fren"; import gensFetcher from "./tokens/gens"; import gensxFetcher from "./tokens/gensx"; import geroFetcher from "./tokens/gero"; @@ -266,6 +267,7 @@ export const supplyFetchers: Record = { "961f2cac0bb1967d74691af179350c1e1062c7298d1f7be1e4696e312444455250": derpFetcher, "2d587111358801114f04df83dc0015de0a740b462b75cce5170fc935434749": cgiFetcher, + fc11a9ef431f81b837736be5f53e4da29b9469c983d07f321262ce614652454e: frenFetcher, "20cd68533b47565f3c61efb39c30fdace9963bfa4c0060b613448e3c50524f584945": proxiesFetcher, f6ac48c64aa7af16434d9f84e014d11fba38525b436acc338ff20b0d4d7463: mtcFetcher, diff --git a/src/tokens/fren.ts b/src/tokens/fren.ts new file mode 100644 index 00000000..6c0f8660 --- /dev/null +++ b/src/tokens/fren.ts @@ -0,0 +1,27 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const fren = + "fc11a9ef431f81b837736be5f53e4da29b9469c983d07f321262ce614652454e"; + +const frenFetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 420_069_000_000; + + const treasuryRaw = await getAmountInAddresses(blockFrost, fren, [ + "addr1qxphpfyj20ktpnjlsq09kgwzgkxkuy34njxxkdsq73cjagg40rlcjxutu5pq06qu2nq03gz4lyswfyd9f65qc6fqgqcqmvr092", + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, fren, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default frenFetcher; From f3c0819d5a08e29b7cbd9cf44b2f0c8f7b8c584a Mon Sep 17 00:00:00 2001 From: adakondacoin <135918761+adakondacoin@users.noreply.github.com> Date: Wed, 24 Apr 2024 00:40:56 +0200 Subject: [PATCH 07/62] Add MarketCap for $Punks (#240) * Update index.ts * Create punks.ts * Update punks.ts * Update index.ts * Update punks.ts * Fix formatting --------- Co-authored-by: patrik --- src/index.ts | 3 +++ src/tokens/punks.ts | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/tokens/punks.ts diff --git a/src/index.ts b/src/index.ts index 7e62d126..657f4971 100644 --- a/src/index.ts +++ b/src/index.ts @@ -84,6 +84,7 @@ import porkeFetcher from "./tokens/porke"; import proxiesFetcher from "./tokens/proxies"; import prsprFetcher from "./tokens/prspr"; import pugchipFetcher from "./tokens/pugchip"; +import punksFetcher from "./tokens/punks"; import rakerFetcher from "./tokens/raker"; import revuFetcher from "./tokens/revu"; import rjvFetcher from "./tokens/rjv"; @@ -152,6 +153,8 @@ export const supplyFetchers: Record = { "1d7f33bd23d85e1a25d87d86fac4f199c3197a2f7afeb662a0f34e1e776f726c646d6f62696c65746f6b656e": wmtFetcher, c88bbd1848db5ea665b1fffbefba86e8dcd723b5085348e8a8d2260f44414e41: danaFetcher, + e633efbf19a37500c6f22965af3130baa34c3a644a146662dd2d74a250554e4b53: + punksFetcher, "884892bcdc360bcef87d6b3f806e7f9cd5ac30d999d49970e7a903ae5041564941": paviaFetcher, b6a7467ea1deb012808ef4e87b5ff371e85f7142d7b356a40d9b42a0436f726e75636f70696173205b76696120436861696e506f72742e696f5d: diff --git a/src/tokens/punks.ts b/src/tokens/punks.ts new file mode 100644 index 00000000..b1b481ca --- /dev/null +++ b/src/tokens/punks.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const punks = "e633efbf19a37500c6f22965af3130baa34c3a644a146662dd2d74a250554e4b53"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 100_000_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, punks, [ + "addr1q8hnlxtw0gsxy53n3wcdepnal9fu5zm02zu2uvtgg6mg64ls455xwpcsxhh8fzpdmfpwsy6ugja9crtnsnmrhxwr9dps9x7wzc", // $punkstoken + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, punks, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // $snekburnwallet + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 34bbe6cfa03ae700550db2b4711fe0c73555bb38 Mon Sep 17 00:00:00 2001 From: Neo Date: Wed, 24 Apr 2024 04:47:13 +0600 Subject: [PATCH 08/62] Added $BET Supply (#248) * Added $BET to index.ts * Added $BET * Fix formatting --------- Co-authored-by: patrik Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 2 ++ src/tokens/bet.ts | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/tokens/bet.ts diff --git a/src/index.ts b/src/index.ts index 657f4971..4dc77175 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,6 +6,7 @@ import ashibFetcher from "./tokens/ashib"; import awooFetcher from "./tokens/awoo"; import axoFetcher from "./tokens/axo"; import bankFetcher from "./tokens/bank"; +import betFetcher from "./tokens/bet"; import bookFetcher from "./tokens/book"; import boonFetcher from "./tokens/boon"; import btnFetcher from "./tokens/btn"; @@ -305,6 +306,7 @@ export const supplyFetchers: Record = { angelsFetcher, afbe91c0b44b3040e360057bf8354ead8c49c4979ae6ab7c4fbdc9eb4d494c4b7632: milkv2Fetcher, + d542ad1dc269ae601125e8259cb8427c6b37c1d3569d10441df0291f4149: betFetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb147273455247": rsergFetcher, "6e6098846537ca48ff18eac70b7f5040c69ba2c5570521b6eb00fdf56461646479": diff --git a/src/tokens/bet.ts b/src/tokens/bet.ts new file mode 100644 index 00000000..3c60667d --- /dev/null +++ b/src/tokens/bet.ts @@ -0,0 +1,21 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const BET = + "d542ad1dc269ae601125e8259cb8427c6b37c1d3569d10441df0291f4149"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 100_000_000; + const vestingRaw = await getAmountInAddresses(blockFrost, BET, [ + "stake1uxxsyr4385z8syr3qs8k8vcpfqgxf8ddskknfyavm0apjcqvht2vw" // Treasury + ]); + + const vesting = Number(vestingRaw); + return { + circulating: (total - vesting).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 0f277b498169221b2fdf7e29b7eace9f4ac066b3 Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Tue, 23 Apr 2024 18:52:57 -0400 Subject: [PATCH 09/62] BabySNEK circulating supply (#254) * BabySNEK circulating supply * Fix formatting --------- Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> Co-authored-by: patrik --- src/index.ts | 3 +++ src/tokens/babysnek.ts | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/tokens/babysnek.ts diff --git a/src/index.ts b/src/index.ts index 4dc77175..dec821df 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,6 +5,7 @@ import angelsFetcher from "./tokens/angels"; import ashibFetcher from "./tokens/ashib"; import awooFetcher from "./tokens/awoo"; import axoFetcher from "./tokens/axo"; +import babysnekFetcher from "./tokens/babysnek"; import bankFetcher from "./tokens/bank"; import betFetcher from "./tokens/bet"; import bookFetcher from "./tokens/book"; @@ -309,6 +310,8 @@ export const supplyFetchers: Record = { d542ad1dc269ae601125e8259cb8427c6b37c1d3569d10441df0291f4149: betFetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb147273455247": rsergFetcher, + "7507734918533b3b896241b4704f3d4ce805256b01da6fcede43043642616279534e454b": + babysnekFetcher, "6e6098846537ca48ff18eac70b7f5040c69ba2c5570521b6eb00fdf56461646479": daddyFetcher, ea153b5d4864af15a1079a94a0e2486d6376fa28aafad272d15b243a0014df10536861726473: diff --git a/src/tokens/babysnek.ts b/src/tokens/babysnek.ts new file mode 100644 index 00000000..63334745 --- /dev/null +++ b/src/tokens/babysnek.ts @@ -0,0 +1,21 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const BABYSNEK = + "7507734918533b3b896241b4704f3d4ce805256b01da6fcede43043642616279534e454b"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 76_715_880_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, BABYSNEK, [ + "stake1uy5fe64k5lv5nrsy0g322ywh5fnfwyxwcqvp0pej3ymee7cpuv7z4", // $babysnektoken + "stake178mscmhst8zj35s9tvpj8926nmw9dj8vut4rhme9qwtpj2qm8f00a", // $babysnekdev + ]); + const treasury = Number(treasuryRaw); + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 4484e8a40486902a45aa4d6b208d7fa2558fe663 Mon Sep 17 00:00:00 2001 From: SharkyCardano <160114607+SharkyCardano@users.noreply.github.com> Date: Wed, 24 Apr 2024 00:58:38 +0200 Subject: [PATCH 10/62] Add Sharky (#261) * Add Sharky * Fix missing comma * Fix formatting --------- Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> Co-authored-by: patrik --- src/index.ts | 3 +++ src/tokens/sharky.ts | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/tokens/sharky.ts diff --git a/src/index.ts b/src/index.ts index dec821df..df08f138 100644 --- a/src/index.ts +++ b/src/index.ts @@ -92,6 +92,7 @@ import revuFetcher from "./tokens/revu"; import rjvFetcher from "./tokens/rjv"; import rsergFetcher from "./tokens/rserg"; import shardsFetcher from "./tokens/shards"; +import sharkyFetcher from "./tokens/sharky"; import shenFetcher from "./tokens/shen"; import snekFetcher from "./tokens/snek"; import snepeFetcher from "./tokens/snepe"; @@ -310,6 +311,8 @@ export const supplyFetchers: Record = { d542ad1dc269ae601125e8259cb8427c6b37c1d3569d10441df0291f4149: betFetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb147273455247": rsergFetcher, + "20fda53c96fc6ac5622ca94fd27a473c42c7ec56d0e96bceef926c91536861726b79": + sharkyFetcher, "7507734918533b3b896241b4704f3d4ce805256b01da6fcede43043642616279534e454b": babysnekFetcher, "6e6098846537ca48ff18eac70b7f5040c69ba2c5570521b6eb00fdf56461646479": diff --git a/src/tokens/sharky.ts b/src/tokens/sharky.ts new file mode 100644 index 00000000..f1caf768 --- /dev/null +++ b/src/tokens/sharky.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SHARKY = "20fda53c96fc6ac5622ca94fd27a473c42c7ec56d0e96bceef926c91536861726b79"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 585_858_585_858; + const treasuryRaw = await getAmountInAddresses(blockFrost, SHARKY, [ + "addr1q9undvvv5ygner7arwp970m2q6hgwymmnewzm35wv00kexz5m9upnclmqh34548waj3qws89xd39q9cxy663v7ely87swr9425", // $sharkyteam + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, SHARKY, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 5b065ef9034993a9e7e1aee9a82a25ccc86f462f Mon Sep 17 00:00:00 2001 From: photoMike <88511475+photoMike@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:05:59 -0400 Subject: [PATCH 11/62] Add PIRATE.ts and update index.ts with PIRATE entry (#269) * Update index.ts Adding PIRATE to index.ts * Create PIRATE.ts Creating PIRATE.ts * Fix formatting * Rename PIRATE.ts to pirate.ts --------- Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> Co-authored-by: patrik --- src/index.ts | 2 ++ src/tokens/pirate.ts | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/tokens/pirate.ts diff --git a/src/index.ts b/src/index.ts index df08f138..268c290c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -82,6 +82,7 @@ import optFetcher from "./tokens/opt"; import optimFetcher from "./tokens/optim"; import paviaFetcher from "./tokens/pavia"; import pepeblueFetcher from "./tokens/pepeblue"; +import pirateFetcher from "./tokens/pirate"; import porkeFetcher from "./tokens/porke"; import proxiesFetcher from "./tokens/proxies"; import prsprFetcher from "./tokens/prspr"; @@ -322,6 +323,7 @@ export const supplyFetchers: Record = { "017af5d958fffdf65f3e5b8b3ff5abefd210a03464a9fc48ea0f4a390014df10574c4b": wlkFetcher, "016be5325fd988fea98ad422fcfd53e5352cacfced5c106a932a35a442544e": btnFetcher, + bdf6ea73a43efded4503bd78e60f0bbce9111f29d235f4b890096f87: pirateFetcher, defe216460d594211631fcfbd354f361c04645d6a0cfeead3d6f62836c65767679776966686174: lwhFetcher, "1cd92100fc05fce7416b3857a079780164eeaf8f5613f4b814f24e09426f6f6e436f696e": diff --git a/src/tokens/pirate.ts b/src/tokens/pirate.ts new file mode 100644 index 00000000..66481936 --- /dev/null +++ b/src/tokens/pirate.ts @@ -0,0 +1,22 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const PIRATE = + "bdf6ea73a43efded4503bd78e60f0bbce9111f29d235f4b890096f87"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 3e9; // 3 billion + + const burnRaw = await getAmountInAddresses(blockFrost, PIRATE, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const burn = Number(burnRaw); + return { + circulating: (total - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 5c508479fd9c76a6dbd5285b18a5fcdba23edb0f Mon Sep 17 00:00:00 2001 From: similiken <122702393+similiken@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:14:14 -0400 Subject: [PATCH 12/62] ady, ashib, bubble, mtc updates (#281) * Added adyFetcher Added adyFetcher data to index.ts * Circulation data and total supply update Circulation update for mtc, bubble, ashib. Total supply and circulation data for ady. --------- Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/ady.ts | 30 ++++++++++++++++++++++++++++++ src/tokens/ashib.ts | 35 ++++++++++++++++++++++------------- src/tokens/bubble.ts | 2 ++ src/tokens/mtc.ts | 6 ++++-- 5 files changed, 61 insertions(+), 15 deletions(-) create mode 100644 src/tokens/ady.ts diff --git a/src/index.ts b/src/index.ts index 268c290c..3b7c1c17 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ import aadaFetcher from "./tokens/aada"; +import adyFetcher from "./tokens/ady"; import agcFetcher from "./tokens/agc"; import agixFetcher from "./tokens/agix"; import angelsFetcher from "./tokens/angels"; @@ -330,6 +331,8 @@ export const supplyFetchers: Record = { boonFetcher, "86abe45be4d8fb2e8f28e8047d17d0ba5592f2a6c8c452fc88c2c14358524159": xrayFetcher, + "438514ae1beb020d35e5389993447cea29637d6272c918017988ef364164615969656c64": + adyFetcher, "8c904e09d2ba206d78e6904133659dadf827e478a8f71beb8e4a823a504f524b45": porkeFetcher, }; diff --git a/src/tokens/ady.ts b/src/tokens/ady.ts new file mode 100644 index 00000000..a04a12ab --- /dev/null +++ b/src/tokens/ady.ts @@ -0,0 +1,30 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const ADY = + "438514ae1beb020d35e5389993447cea29637d6272c918017988ef364164615969656c64"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 100_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, ADY, [ + "addr1qyrgyf7n3whtc7v07lfnrlzzgjywenvdx5n4ugfqsyzudyse8qjesjluhd7nkmauw9tu4tjw5m6j840af7pzmp60hf8qmc4gke", // marketing + "addr1q87nf2vx2s6ur8jek6slprf4m65e39cmxjetz5g42zjj84jrdhxhfhtypyc3zjx6r32c8vq2xv34mlvuaddrnc8shghsy50thl", // rewards + "addr1qy8vlnj0mglq79mlr5fx096qea6r7qrsu6rt3wqvhl678rl05jpfehp48d28ravv7qe7zh4hnur8qktff5qa4t6dhg7svrlax9", // liquidity + "addr1qxpeczj2lluh88sa2g3tm0e3fj39c34rlctmvcszjs67g6wjj9djsz0020h68nz3rxknzdh93nryqzhq6h9z0nnzf0rshrectt", // tosidrop distribution + "addr1w9jkhngsyq2nl09r59m95r903mn40wfpcze7psqvxjzxragmnuddk", // dripdropz distribution + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, ADY, [ + "addr1w8t6qhfx7cty7pg805adz62gjfkld0c70usezv4e4uxfk0sf0e2mj", // burn wallet + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/ashib.ts b/src/tokens/ashib.ts index bb6015ed..19ea97b5 100644 --- a/src/tokens/ashib.ts +++ b/src/tokens/ashib.ts @@ -3,23 +3,32 @@ import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; const ASHIB = "afc910d7a306d20c12903979d4935ae4307241d03245743548e767834153484942"; -const TREASURY_ADDRESSES = [ - "addr1qxpv50tpyy9xutrzd3585eup87wm0qv3zyw4jfawqzchgyfltcw74v5edmr2veq0dvu4262jhendzee24ellgcamlqzsfzzfsq", // treasury 1 - "addr1q8dhkxncaznxd66tq5npvuqxl87zdw0glpazysxckl9gxfecnrdy6frmvrk2szfx2wsg9wa3z3wzctfmgaw7hcts7g6quzkakx", // treasury 2 - "addr1z8snz7c4974vzdpxu65ruphl3zjdvtxw8strf2c2tmqnxz2j2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq0xmsha", // treasury 3 - "addr1q8my0y2n7ythvevuyfur4w4akrc6mp454p2yp4pkjcrlwq2zhw8y7c92vew3fqwy7u4yrq66d2yt8wmd0tm3uyhsxaps59yy9y", // treasury 4 - "addr1qxrlzwkmv826sps9sfjdg3cr8malcr2wmfvhvt0sqpd84xaq4rezcdmnr9f52x0zsgpz3zl8klrwjhmynksx5lhs5scsdqcx9d", // treasury 5 -]; const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const blockFrost = getBlockFrostInstance(options); - const total = 109e9; // 109 billion - const treasury = - Number(await getAmountInAddresses(blockFrost, ASHIB, TREASURY_ADDRESSES)) / - 1e6; + const total = 1_000_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, ASHIB, [ + "addr1qxpv50tpyy9xutrzd3585eup87wm0qv3zyw4jfawqzchgyfltcw74v5edmr2veq0dvu4262jhendzee24ellgcamlqzsfzzfsq", // treasury 1 + "addr1q8dhkxncaznxd66tq5npvuqxl87zdw0glpazysxckl9gxfecnrdy6frmvrk2szfx2wsg9wa3z3wzctfmgaw7hcts7g6quzkakx", // treasury 2 + "addr1q8my0y2n7ythvevuyfur4w4akrc6mp454p2yp4pkjcrlwq2zhw8y7c92vew3fqwy7u4yrq66d2yt8wmd0tm3uyhsxaps59yy9y", // treasury 3 + "addr1qxrlzwkmv826sps9sfjdg3cr8malcr2wmfvhvt0sqpd84xaq4rezcdmnr9f52x0zsgpz3zl8klrwjhmynksx5lhs5scsdqcx9d", // treasury 4 + "addr1qxkmr0m22xeqludcg5rjdmecjxasu9fat0680qehtcsnftaadgykewa9ufvegeuca9yyq03d9v7ea2y2zthgu7hfgjtsddp6gr", // minswap farm distribution + "addr1qxpeczj2lluh88sa2g3tm0e3fj39c34rlctmvcszjs67g6wjj9djsz0020h68nz3rxknzdh93nryqzhq6h9z0nnzf0rshrectt", // tosidrop distribution + "addr1w9rerwzk0f5v4den9u2c7anv2d4dl88hq9cq0xgcmernsfsak7w6r", // dripdropz distribution + "addr1qx3wvec7uhweerzqaeezzepmrwft8sfpucgk50tsuluz8f8cfhlykwhxy66aazkjmfp4euf0yhpeezx3exncm7e69pvs7jetw6", // starcada distribution + "addr1q8xhjg9tn29a6vpv9e52xf8zn7hl7nqkv99kk4uac08myjud244wsz2v65xv0jc4tgjyfxrhgnmcav0upfcvcdv2d8qq7fqgh3", // adalot jackpot vending + "addr1qyjhg2ge6w6tzwc9gwmddp5ha07zsawpd3pse7v9a0893jufgx9ne2hurkmz7adclf0tpehwdqwuhfejtph98vpfhulscdnlzz", // adalot exchange vending + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, ASHIB, [ + "addr1w8qvvu0m5jpkgxn3hwfd829hc5kfp0cuq83tsvgk44752dsea0svn", // burn wallet + ]); + + 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(), }; }; diff --git a/src/tokens/bubble.ts b/src/tokens/bubble.ts index a17781c7..d8170860 100644 --- a/src/tokens/bubble.ts +++ b/src/tokens/bubble.ts @@ -11,6 +11,8 @@ const TEAM_AND_DISTRIBUTORS = [ "addr1qxpeczj2lluh88sa2g3tm0e3fj39c34rlctmvcszjs67g6wjj9djsz0020h68nz3rxknzdh93nryqzhq6h9z0nnzf0rshrectt", // tosidrop distribution "addr1qxkmr0m22xeqludcg5rjdmecjxasu9fat0680qehtcsnftaadgykewa9ufvegeuca9yyq03d9v7ea2y2zthgu7hfgjtsddp6gr", // minswap farm distribution "addr1qx3wvec7uhweerzqaeezzepmrwft8sfpucgk50tsuluz8f8cfhlykwhxy66aazkjmfp4euf0yhpeezx3exncm7e69pvs7jetw6", // starcada distribution + "addr1qxt9njtjx52l37rrx8ceugaxedwer2737wnldyrk32y4wqkj3as3w0lcznwjlhzrqrvg720mzq8yz5x8va3gdyc0uxwslyyxf9", // adalot exchange vending + "addr1q8ctlczt8fqjntg3g2g3cpf697g72l2dl4m5ta978gtddp2gjv5xxe2nftrkfd0d3q3dwfc34j2fmrxlm5jw5ge3e6yq56j4ga", // adalot jackpot vending ]; const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { diff --git a/src/tokens/mtc.ts b/src/tokens/mtc.ts index 15ef3dc3..3a28471c 100644 --- a/src/tokens/mtc.ts +++ b/src/tokens/mtc.ts @@ -6,8 +6,10 @@ const TEAM_ADDRESSES = [ "addr1qxw6ltkkfapk934cfhj8aswpv6pj9ejlqtuszcr3vp3nkcyl4z8jmxwk2u8knrqgptuc3f56hqxenmp45qscmeyxg0xs96x9qy", // team 1 "addr1qy567alv55pznmx8newdj77tghetevq2jr39t5uz7vrk208l95lxy69yvjzpx79wu6lsrq54as3ynftrg0t0ecyfd59sl5xcxv", // team 2 "addr1qx5705wkfz897qul8cck2w2ke4uxshal8ghu0m3tncy0sasq9sp8s22znmvqlmka7g20jckxyazqhjehg5q6h3ek0shs9cslz8", // team 3 - "addr1qypnftnwqqghlv0t4n7tj4xynuvj635szue4lw0jh5nhwxkcsc7tl298q66tcrjumsqp8cmm4gaa2rh7dq5p6l0jj3jstvvp03", // team 4 - "addr1q8s602mue5ecqk53yj2xa6whk3kqyadtsgm74xp8938fkwzg5vcd98mzm8sf0a2dn80nwt2k98zjpj47yhde5vtz6tqsq65km9", // team 5 + "addr1qx42lkkh8qhnetve4cmx74mzqx4qkssxz9ltmsn8nmgcxxs6gw4tkslgkhp8m2pgkedxlhtx7e8k5dj5xn7yt88p54kq69nh0h", // team 4 + "addr1q8yll2vw2h2dhv7fccdxwfm95puje3zelredzmw97w34hdwm9dndrhqfvas9nvg7rgn8wrwnzxsj7wp2msuthuvfuwsq9e905k", // snek staked + "addr1wxqg5vgp3fsh6ddmr0vhc5xuhrckhyav9emdtwpfmafaf5q63x6rc", //dripdropz bucket + "addr1qx3wvec7uhweerzqaeezzepmrwft8sfpucgk50tsuluz8f8cfhlykwhxy66aazkjmfp4euf0yhpeezx3exncm7e69pvs7jetw6", //starcada distribution ]; const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { From 4d3b4d7faa4ff3ac719abae0fa3decca207039e9 Mon Sep 17 00:00:00 2001 From: decimalist <129120814+realdecimalist@users.noreply.github.com> Date: Tue, 23 Apr 2024 17:15:59 -0600 Subject: [PATCH 13/62] Update shards.ts with new wallets (#282) * Update shards.ts * Update shards.ts Updated true Max Supply according to Cardanoscan: https://cardanoscan.io/token/ea153b5d4864af15a1079a94a0e2486d6376fa28aafad272d15b243a0014df10536861726473 --- src/tokens/shards.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tokens/shards.ts b/src/tokens/shards.ts index 1ae8136f..9b650b9c 100644 --- a/src/tokens/shards.ts +++ b/src/tokens/shards.ts @@ -6,14 +6,16 @@ const TOKEN = const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const blockFrost = getBlockFrostInstance(options); - const total = 5_000_000; + const total = 4_998_034; //https://cardanoscan.io/token/ea153b5d4864af15a1079a94a0e2486d6376fa28aafad272d15b243a0014df10536861726473 const treasuryRaw = await getAmountInAddresses(blockFrost, TOKEN, [ "addr1w95dsllnucgg53lj8qhdcgjnw40hlsctkeh8udt7uhud2tgjfyagq", // DripDropz Instant Rewards "stake17yavsn3jqqxm29tcgrjpj8e960tf00hkkvzaqxv6tt8ud7s4kw5vn", // GameFi Incentives Reserves "addr1wx4ua0djv8c4fvkl8t08z0duf3lw8fl4qujvevwx4m9c7ygma04rr", // Blockchain-wide Distribution (Cardano) & SHARDS/ADA LP Rewards "stake17yqphvez52gkae448avqr5smpztvlrwmwsvfhgmp84laxes3zfyq0", // Private Investors - "stake178yzhvwqsw56qnz3lj4heu08m7tvl9z95zk4e2tpj4y8wkc7wmpzz", // FPS Treasury + "stake17yz7hzlx3fp3sfpagfhkwxjwuhr7ew9te676fa9zxdvpzccs2hvfx", // FPS Treasury "stake1u8yt8czlj5svzc4jvr3w230tsjklctw4tvhz43k5recvfvqwnvelg", // FPS Team Wallet + "addr1z8cw3tst2mp2l3y7tkwv9nnz8wef63yg9ufevn4kwnq6rq275jq4yvpskgayj55xegdp30g5rfynax66r8vgn9fldndsjgezmx", // SaturnNFTio Static Staking Contract + "addr1q8dp4sagd487pa5zjcfh3w6e6nsw9mgkuwtkpdw40ge432jnc0dqf7yufrtw3nsexjzghgdrnqpn8q8gandf3tk4jp0sjemnsw", // Danketsu Hustle Platform x FPS Missions Rewards ]); const treasury = Number(treasuryRaw) / 1e6; return { From 78d48f39bc130b1b71616fd32816cba04508e1ff Mon Sep 17 00:00:00 2001 From: Ben Elferink Date: Wed, 24 Apr 2024 02:16:49 +0300 Subject: [PATCH 14/62] Updated TRTL burn addresses (#283) * add token * Add $TRTL burn addresses * updated TRTL burn addresses --- src/tokens/trtl.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tokens/trtl.ts b/src/tokens/trtl.ts index faf442f3..2aa19cad 100644 --- a/src/tokens/trtl.ts +++ b/src/tokens/trtl.ts @@ -16,8 +16,11 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const treasury = Number(treasuryRaw); const burnRaw = await getAmountInAddresses(blockFrost, TRTL, [ - "addr1xy9phln4e5q23w533z7nme7sxr3p6lpldqhsyc8u5qd9c2mudsgax8xq9e4qr8f4yu4cxsghtapg282z5wn0nyjgtmsspwevz8", + "addr1xy9phln4e5q23w533z7nme7sxr3p6lpldqhsyc8u5qd9c2mudsgax8xq9e4qr8f4yu4cxsghtapg282z5wn0nyjgtmsspwevz8", // 150 year lock "addr1x8gm0yhvdzv2a4n6rm02vfyez6x49nsj2dls4ml7t3rl7tw3k7fwc6yc4mt858k75cjfj95d2t8py5mlpthluhz8luks03cwcj", + "addr1z8snz7c4974vzdpxu65ruphl3zjdvtxw8strf2c2tmqnxzwccf8ywaly0m99ngq68lus48lmafut7ku9geawu8u6k49suv42qq", // min contract + "addr1w93rz3ae8p3elzn0sqfu37hyzw0up98r2kgjjdmdq9wshmck40yr8", // hosky burn + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // snek burn ]); const burn = Number(burnRaw); From d27b3501a8a677b1a7ef479ecaf413f570fd47de Mon Sep 17 00:00:00 2001 From: gitpool <71734613+poolstakes@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:17:42 -0400 Subject: [PATCH 15/62] DADDY: update total supply vs circ supply (#285) Add files via upload --- src/tokens/daddy.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/tokens/daddy.ts b/src/tokens/daddy.ts index 37e7a67f..24655367 100644 --- a/src/tokens/daddy.ts +++ b/src/tokens/daddy.ts @@ -1,8 +1,7 @@ import { defaultFetcherOptions, SupplyFetcher } from "../types"; import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; -const DADDY = - "6e6098846537ca48ff18eac70b7f5040c69ba2c5570521b6eb00fdf56461646479"; +const DADDY = "6e6098846537ca48ff18eac70b7f5040c69ba2c5570521b6eb00fdf56461646479"; const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const blockFrost = getBlockFrostInstance(options); @@ -11,14 +10,13 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const burnRaw = await getAmountInAddresses(blockFrost, DADDY, [ "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // SNEK burn address - ]); + ]); - let burn = Number(burnRaw); - if (Number.isNaN(burn)) burn = 0; + const burn = Number(burnRaw); return { circulating: (total - burn).toString(), - total: (total - burn).toString(), + total: (total).toString(), }; }; From ad4578760afed91e862c1beb478b140311f03a18 Mon Sep 17 00:00:00 2001 From: Jelil Akjaly <82251043+jelilakjaly@users.noreply.github.com> Date: Thu, 25 Apr 2024 02:55:19 +0330 Subject: [PATCH 16/62] added TET token info (#289) * added TET token info * Roll changes --------- Co-authored-by: patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 2 ++ src/tokens/tet.ts | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/tokens/tet.ts diff --git a/src/index.ts b/src/index.ts index 3b7c1c17..e002c83b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -104,6 +104,7 @@ import spfFetcher from "./tokens/spf"; import stableFetcher from "./tokens/stable"; import sundaeFetcher from "./tokens/sundae"; import tedyFetcher from "./tokens/tedy"; +import tetFetcher from "./tokens/tet"; import toolFetcher from "./tokens/tool"; import trtlFetcher from "./tokens/trtl"; import utilFetcher from "./tokens/util"; @@ -335,4 +336,5 @@ export const supplyFetchers: Record = { adyFetcher, "8c904e09d2ba206d78e6904133659dadf827e478a8f71beb8e4a823a504f524b45": porkeFetcher, + "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, }; diff --git a/src/tokens/tet.ts b/src/tokens/tet.ts new file mode 100644 index 00000000..859f2e91 --- /dev/null +++ b/src/tokens/tet.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const TET = "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const assetInfo = await blockFrost.assetsById(TET); + const totalAmount = Number(assetInfo?.quantity); + + const lockAddresses = [ + "addr1wy669f5qjm82h3wj8vcy7lg8zs2n4us3ks62cssl84p730g92rwkw", // vault address + "addr1w96qxyn67hy2qgpz4tsulkpu0y3zv4wfq9fzgd38m07pnuq0w542k", // vesting address + ]; + + const lockedAmount = Number( + await getAmountInAddresses(blockFrost, TET, lockAddresses) + ); + return { + circulating: Number(totalAmount - lockedAmount).toString(), + total: totalAmount.toString(), + }; +}; + +export default fetcher; From e1d606b17d0c37416c127b8eb8e6f26ae9354112 Mon Sep 17 00:00:00 2001 From: Adam Cazes Date: Thu, 25 Apr 2024 02:26:49 +0300 Subject: [PATCH 17/62] Update gero.ts (#290) --- src/tokens/gero.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/tokens/gero.ts b/src/tokens/gero.ts index a2b213a5..17519f78 100644 --- a/src/tokens/gero.ts +++ b/src/tokens/gero.ts @@ -1,8 +1,19 @@ -import { SupplyFetcher } from "../types"; +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; -const fetcher: SupplyFetcher = async () => { +const gero = "10a49b996e2402269af553a8a96fb8eb90d79e9eca79e2b4223057b64745524f"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); const total = 500_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, gero, [ + "addr1q9ztglqsxh2z9axvqdxa3zx3d6jwshwpweyxfjqtkz4t74elsevp82m7t3ztwknpeusr9wagtmwmvx5p3qa0v5l47yhqvfadex", //team + "addr1qxh9m2x8gvu9jauh0uz0ad05jvrhx93avy3fa7yfujjtc9d70s467j6ahztju3pltp79zyk0z9ujlja44cjusjd3pckqze4zka", //advisor + "addr1qy0gugg7y6g2rkhmupaa4z837spqnf42x6ejgm3gur3uvqhgv6le9ntys7rtmm43ksp9e60uje6thlrgrx87wr4up2msgh0693", //ecosystem and rewards + ]); + const treasury = Number(treasuryRaw) / 1e6; return { + circulating: (total - treasury).toString(), total: total.toString(), }; }; From 69769c64efb383c617c3f23daa986edd025a62df Mon Sep 17 00:00:00 2001 From: PatrickTobler <129864078+PatrickTobler@users.noreply.github.com> Date: Thu, 25 Apr 2024 01:27:16 +0200 Subject: [PATCH 18/62] Update nmkr.ts (#291) --- src/tokens/nmkr.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tokens/nmkr.ts b/src/tokens/nmkr.ts index b3efaf15..ee199d30 100644 --- a/src/tokens/nmkr.ts +++ b/src/tokens/nmkr.ts @@ -8,6 +8,12 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const total = Number(10_000_000_000); const treasuryRaw = await getAmountInAddresses(blockFrost, NMKR, [ "addr1q9j2atke2qg7ljjm795u2mf4wf4f2uk35f5t7984t62kqtxh7t5nw0qtt7g322gtayqrr7zmpvdrf24kc284uwmhqgas34y7tg", + "addr1qx3qh43x9re55gue0drws079x3w4ke6gv6f6g5lke4gqtylptfpmf2xr4j3wz2ex4umqryvphvvd5wam0uhv52vkqrhqvq968f", + "addr1q8yn82xu942cl8ufhr4mpd78ga7sflum3hzhy3rp80dr9z98j67nfwq0r8z5tarz5mv9mg00c0y20pjaucwhnh46layqp5qjt0", + "addr1q92xvvh369cgq8cuwsn45909n7efcgspqe3ecyyng4nc8nfukcmcw2ua9murga6als0dkcfthm3ul8gsflpdsya0568qwdfude", + "addr1q80p8glcgjp564ntquxwynrnsp5qejexnjj90zy6f0am7t2k7xqu7nc2pnutpm7968zjcscjccalfq4cgy56adt6pljqpsuras", + "addr1qxn7ervc5au4flt9c6ww0rgukkwfhcxgzjxyjvxjzwx6zvg3p47letwa26eylt4mfa50zrx26f47acj00ukhjjee8q3svl2r9z", + "addr1qx0tpkhl3pxntqm4txf63adktaazcdr25luesckzcvg4gdyz45p0u5k20h5ak3hs6y4q2lx6ypk69fy5rm2lvc9wvhkqu9yk3g", ]); const treasury = Number(treasuryRaw) / 1e6; return { From bcc4a97ca7f66fc40e15d99e90183fbb080029ec Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:32:31 -0400 Subject: [PATCH 19/62] Clarity circ supply (#292) * Clarity circ supply * add dao --------- Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/clarity.ts | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/tokens/clarity.ts diff --git a/src/index.ts b/src/index.ts index e002c83b..32a26026 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,6 +22,7 @@ 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"; import cnctFetcher from "./tokens/cnct"; import cnetaFetcher from "./tokens/cneta"; @@ -336,5 +337,7 @@ export const supplyFetchers: Record = { adyFetcher, "8c904e09d2ba206d78e6904133659dadf827e478a8f71beb8e4a823a504f524b45": porkeFetcher, + "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": + clarityFetcher, "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, }; diff --git a/src/tokens/clarity.ts b/src/tokens/clarity.ts new file mode 100644 index 00000000..6b94980a --- /dev/null +++ b/src/tokens/clarity.ts @@ -0,0 +1,24 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const CLARITY = + "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 2e9; + const treasuryRaw = await getAmountInAddresses(blockFrost, CLARITY, [ + "stake1u934vrjj6cdw5rrd2vewahxu3nrd9wslhjlkvamd5kc8ytce7sjsk", // Strategic Partner Vesting Wallet + "stake1u8g43cjercws2x26xmtlukgg3nfy4m0l6uw6dqtcp0y5fhc5pm7q5", // Future Development Wallet + "stake1uxs3nf3qj4xuyv9t63vyhxq8glec3zcxw0a03vegwdzu6hglwwmld", // Team Vesting Wallet + "addr1w87vg0x4k2x95dlp7mrlef909lgk25kgajhk2dxzxk0tquclfp0at", // DAO treasury + ]); + + const treasury = Number(treasuryRaw) / 1e6; + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 21a4cdd6373a32a945e4bd339da78128cf0b179b Mon Sep 17 00:00:00 2001 From: Fraction Estate <140243674+FractionEstate@users.noreply.github.com> Date: Thu, 25 Apr 2024 01:33:10 +0200 Subject: [PATCH 20/62] Update fet.ts (#293) * Update fet.ts Changed addresses * Update fet.ts --- src/tokens/fet.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/tokens/fet.ts b/src/tokens/fet.ts index 42323bc4..54eedd53 100644 --- a/src/tokens/fet.ts +++ b/src/tokens/fet.ts @@ -10,13 +10,11 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const assetInfo = await blockFrost.assetsById(FET); const onchainSupply = Number(assetInfo?.quantity) / 1e10; const treasuryRaw = await getAmountInAddresses(blockFrost, FET, [ - "stake1uyyxjvthz4udwdrzr9pkkudpylasg99ufdzu7gpdfckxf2s5peell", // fe.dex.funds - "stake1ux94pdq42nwx0g24ea3myjcnd8tvl354ku4ygedtgm7sfgc2hugz9", // fe.reserve.fund - "stake1uxerycuwj09h2n6wydjp4vk936la23p9dvn37ezlkmdl5ycq38hr4", // fe.dev.funds - "stake1uypwcfxvg7uyzkyeue8fglq6fx7uxmampr2ahylyy4rg38cvky2pr", // fraction.estate - "stake1ux7pa94sgkzd0yawsu9e9ddj0vr07psyezksfek24m9wn2qtjf62u", // fe.market.funds - "stake1uy74mhj5x3jdf8d9446xcwrw723pvqelksxwwxu5c6t799qcnww0q", // fe.charity.fund - "stake1u8qzt94vyvfvvs4qan02axtfwj2hz4dcqefpehara5rdh4q6h9xka", // founder - daniel johnsen + "stake1uyedlzmcwtn63sjmvau4rgr5jwwd98jzqv8lc5fe7v36c2gy7y3mq", // fe.dex.funds + "stake1u9j7m6yrzw6ue0g2wyesqppf9qkkk86ac5x6gqy6axmx9xqtcv3n5", // Pending Burn Wallet + "stake1uxs45y65rgrq9kzk4wjqf9wannky3vn3unhpy40jykg8fscnqdz2j", // fraction.estate + "stake1uxa33njpprvxrjwtgpwechlf7y3kcxw6ddj2hf5s8e4z77snr6znd", // fe.charity.fund + "stake1uytl9a6eup867pd4ljz9q5y968qpd0j9hg3e9luhh0dm9sqw2grpe", // founder - daniel johnsen "addr1wy08wwdmpp6wtkzzjnghpxn0wtm9zyp69s4fxe675yv06cs70pjxk", // Staking Rewards Vyfi "stake1uxmyhzdqv6e57xwkz3z93v996v3ktdctlda44jv76ese5pqwwg7ue", // Farming Rewards Vyfi "stake1uyuxqkvqwngv86g9m804kjnhmvunc52kk4kl8cm8fck5kwcjmx8sg", // Rewards Treasury Vyfi From 5ce03ebacc5c778b70c31a251b4c9019105dbd0f Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:40:44 -0400 Subject: [PATCH 21/62] Add NVL circulating supply (#295) Add NVL circualting supply Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 2 ++ src/tokens/nvl.ts | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/tokens/nvl.ts diff --git a/src/index.ts b/src/index.ts index 32a26026..c680c375 100644 --- a/src/index.ts +++ b/src/index.ts @@ -80,6 +80,7 @@ import nftcFetcher from "./tokens/nftc"; import ninjazFetcher from "./tokens/ninjaz"; import nmkrFetcher from "./tokens/nmkr"; import ntxFetcher from "./tokens/ntx"; +import nvlFetcher from "./tokens/nvl"; import optFetcher from "./tokens/opt"; import optimFetcher from "./tokens/optim"; import paviaFetcher from "./tokens/pavia"; @@ -337,6 +338,7 @@ export const supplyFetchers: Record = { adyFetcher, "8c904e09d2ba206d78e6904133659dadf827e478a8f71beb8e4a823a504f524b45": porkeFetcher, + "5b26e685cc5c9ad630bde3e3cd48c694436671f3d25df53777ca60ef4e564c": nvlFetcher, "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": clarityFetcher, "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, diff --git a/src/tokens/nvl.ts b/src/tokens/nvl.ts new file mode 100644 index 00000000..397e753c --- /dev/null +++ b/src/tokens/nvl.ts @@ -0,0 +1,22 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const NVL = + "5b26e685cc5c9ad630bde3e3cd48c694436671f3d25df53777ca60ef4e564c"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 21e6; + const treasuryRaw = await getAmountInAddresses(blockFrost, NVL, [ + "stake179qxx9fyg59ad4x7vpnksxlkc93nsj5zc2v3hy8up2kangc7qzvzh", + "stake179kx2h763naj8nm8uujxe9q0xksnu8t05p5rzgxnmez9nsc8kpzhd", + ]); + + const treasury = Number(treasuryRaw) / 1e6; + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From fdb70a3c170544669df4d072205d9e74db3a9b4c Mon Sep 17 00:00:00 2001 From: Sebastian Thobe Date: Thu, 25 Apr 2024 01:46:18 +0200 Subject: [PATCH 22/62] Adds $SPX market cap fetcher (#296) adds market cap fetcher Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 2 ++ src/tokens/spx.ts | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/tokens/spx.ts diff --git a/src/index.ts b/src/index.ts index c680c375..610cfd92 100644 --- a/src/index.ts +++ b/src/index.ts @@ -103,6 +103,7 @@ import snepeFetcher from "./tokens/snepe"; import snowFetcher from "./tokens/snow"; import societyFetcher from "./tokens/society"; import spfFetcher from "./tokens/spf"; +import spxFetcher from "./tokens/spx"; import stableFetcher from "./tokens/stable"; import sundaeFetcher from "./tokens/sundae"; import tedyFetcher from "./tokens/tedy"; @@ -338,6 +339,7 @@ export const supplyFetchers: Record = { adyFetcher, "8c904e09d2ba206d78e6904133659dadf827e478a8f71beb8e4a823a504f524b45": porkeFetcher, + f7516c9f7b347eb412a777f3c711099b199ccd2be23b568a4a3abf6d535058: spxFetcher, "5b26e685cc5c9ad630bde3e3cd48c694436671f3d25df53777ca60ef4e564c": nvlFetcher, "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": clarityFetcher, diff --git a/src/tokens/spx.ts b/src/tokens/spx.ts new file mode 100644 index 00000000..681306f0 --- /dev/null +++ b/src/tokens/spx.ts @@ -0,0 +1,20 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAxiosInstance } from "../utils"; + +type Response = { + circulating: string; + total: string; +}; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const axios = getAxiosInstance(options); + const resp = await axios( + "https://map.smart-places.io/api/token/circulating" + ).then((res) => res.data as Response); + return { + circulating: resp.circulating, + total: resp.total, + }; +}; + +export default fetcher; From 27fd07f5858393ac344b6efa3f29f7102d0dd95e Mon Sep 17 00:00:00 2001 From: Talha Hussain <44113191+talhahussain7@users.noreply.github.com> Date: Thu, 9 May 2024 10:55:18 +0200 Subject: [PATCH 23/62] Update c3.ts with circulating supply (#300) --- src/tokens/c3.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/tokens/c3.ts b/src/tokens/c3.ts index f55cd929..551fca23 100644 --- a/src/tokens/c3.ts +++ b/src/tokens/c3.ts @@ -1,8 +1,20 @@ -import { SupplyFetcher } from "../types"; +import { defaultFetcherOptions,SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; -const fetcher: SupplyFetcher = async () => { +const C3 = + "8e51398904a5d3fc129fbf4f1589701de23c7824d5c90fdb9490e15a434841524c4933"; +const TREASURY_ADDRESSES = [ + "addr1q82wf56fmjxgv4xuhmdw5vsl8mkwvh8ag5q0hpm0t70kkj9kexs7kszymxq6f9400u4xkg5n428e92gkhk30x3m6h4ls6ya7lr", +]; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const treasury = + Number(await getAmountInAddresses(blockFrost, C3, TREASURY_ADDRESSES)) / + 1e6; const total = 100_000_000; return { + circulating: (total - treasury).toString(), total: total.toString(), }; }; From 9de80c73a1e16c84796bc23a126832bc9c706a1a Mon Sep 17 00:00:00 2001 From: rj <100355203+b00kdev@users.noreply.github.com> Date: Thu, 9 May 2024 22:17:43 -0500 Subject: [PATCH 24/62] Adds two additional non-circulating supply addresses for $BOOK (#304) adds two addl addresses. --- src/tokens/book.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tokens/book.ts b/src/tokens/book.ts index bdca14d9..f1ddc61e 100644 --- a/src/tokens/book.ts +++ b/src/tokens/book.ts @@ -10,10 +10,12 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { "addr1v8dyqna76l9uh3sg93hvp8h40c8h0ecsw0yfa5dtq5hgvzc5572e2", // swap send in "addr1w99gfdcmxwe2ahe9ncjekntn2fhcpusj55874g4m7f4c7kqy3rq23", // swap contract "addr1w9223trzcvg75wwlaeprls9zwcf8nu8l5y92t9kk2all2jqk6sg93", // lock contract + "addr1w9fyvw2lq6hahnsedxvur32cs3at2ytqsxsu697h9ytg0xghu565k", // lock contract "addr1v85pply2a5dgxg220ymw3qsg6h478vjeymppexpsvdpzqtcfarzsy", // read to earn "addr1vyed0f2pcau4ww4yjqx4r53jqf3fy9sfahc57g7ucqxrcecrp4tg0", // dex liquidity and yield farming rewards "addr1v8gnwyfxh2w7lmn6vau92gura99cs9rhxhvr4l8nprz8s5qhlk9ed", // stake pool + "addr1qxeuqscp0l85sd54nlfrcjdg752xs0vwn5f3vllvn3eexgwhy3954pmhklwxjz05vsx0qt4yw4a9275eldyrkp0c0hlqskr4re", // sundae rewards holding "addr1v89mtmf0gfqde8lfuzrssmucupkx7zj2uy9kht3eaa3cp7s773n2z", // gutenberg holders "addr1v8glyfdnwewtt586yvmpg27zjm6v7ld3yxau5jtugtzzhkq2n9pgc", // golden bookmark "addr1vx558m3dchudjts98lhw7sxpx996f535gkwexvn5tp0t3js38kk50", // development From cff0766152416aad5fceb3af97e68fdd1fd1e1d1 Mon Sep 17 00:00:00 2001 From: Louey <146684776+LoueyXYZ@users.noreply.github.com> Date: Fri, 10 May 2024 16:40:28 +1200 Subject: [PATCH 25/62] Update louey.ts (#302) --- src/tokens/louey.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tokens/louey.ts b/src/tokens/louey.ts index 4c6770ca..f914de74 100644 --- a/src/tokens/louey.ts +++ b/src/tokens/louey.ts @@ -5,6 +5,7 @@ const LOUEY = "ac11a1a07f04ec9efee4c46c359725922377ec5a4596bbed670cc920"; const TREASURY_ADDRESSES = [ "addr1qy6raw2ndg60u68g0rd079a84qh4y6625gysvzukc6r7u39247zav5n3h2vcpp2sktqxsaa8v44jypar3vk24gjs2jgqsy8hcv", // team "addr1q9esm0mhkhdjk8z83lcur4gwldygyedk8fxmhzldd7lp304kn0xh732vdqjwem8g3vzjhwh9s9fgteu4wnhmncw3j9nsmr4gl5", // marketing + "addr1qy9stn30dyku0qwgt4kzr66t9mkzxsmc3vkj6zyj5gnmgul8ung6d8zvmfj7ratseyv9jy8s4n2mf9xyl4stujsarlss7t7pjx", // burn ]; const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { From 73fce98b8f0da106d60a20ff22229f5da01d46fa Mon Sep 17 00:00:00 2001 From: Ben Elferink Date: Fri, 10 May 2024 07:41:11 +0300 Subject: [PATCH 26/62] Added MrHankey (#301) * add token * Add $TRTL burn addresses * add $mr.hankey --- src/index.ts | 3 +++ src/tokens/mrhankey.ts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 src/tokens/mrhankey.ts diff --git a/src/index.ts b/src/index.ts index 610cfd92..11abcfae 100644 --- a/src/index.ts +++ b/src/index.ts @@ -72,6 +72,7 @@ import minFetcher from "./tokens/min"; import mintFetcher from "./tokens/mint"; import mntFetcher from "./tokens/mnt"; import moaiFetcher from "./tokens/moai"; +import mrHankeyFetcher from "./tokens/mrhankey"; import mtcFetcher from "./tokens/mtc"; import myieldFetcher from "./tokens/myield"; import nebulaFetcher from "./tokens/nebula"; @@ -269,6 +270,8 @@ export const supplyFetchers: Record = { cswapFetcher, "52162581184a457fad70470161179c5766f00237d4b67e0f1df1b4e65452544c": trtlFetcher, + "7c4389a89ae25d18c77c2347ee8df20b4a6278d34e6c550296eb710e4d7248616e6b6579": + mrHankeyFetcher, "09f2d4e4a5c3662f4c1e6a7d9600e9605279dbdcedb22d4507cb6e75535046": spfFetcher, b3bd74dd43f83815519e387bdffd1cb9be411df8f2774f48e0fd3669534e455045: snepeFetcher, diff --git a/src/tokens/mrhankey.ts b/src/tokens/mrhankey.ts new file mode 100644 index 00000000..67eab554 --- /dev/null +++ b/src/tokens/mrhankey.ts @@ -0,0 +1,31 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const assetId = + "7c4389a89ae25d18c77c2347ee8df20b4a6278d34e6c550296eb710e4d7248616e6b6579"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + + const total = 121_719_970_109; + + const treasuryRaw = await getAmountInAddresses(blockFrost, assetId, [ + "addr1q9wpgjuvkq0vjz0j9gnmtsm78kywk89h00zmwdz0wd5u0dn68j687fzlz60n6y7gc72sszwlsr5kh6rllewj4ctxwvjsmvjfsx", // $mr.hankey + ]); + + const treasury = Number(treasuryRaw); + + const burnRaw = await getAmountInAddresses(blockFrost, assetId, [ + "addr1w93rz3ae8p3elzn0sqfu37hyzw0up98r2kgjjdmdq9wshmck40yr8", // hosky burn + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // snek burn + ]); + + const burn = Number(burnRaw); + + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 5cd74e48caf5021d567c07e03020897ef2b99683 Mon Sep 17 00:00:00 2001 From: Intraconnection <162527459+Intraconnection@users.noreply.github.com> Date: Fri, 10 May 2024 22:24:01 -0400 Subject: [PATCH 27/62] Update SMOKE and index (#308) * Add files via upload * Update smoke.ts * Update index.ts * Run formatting --------- Co-authored-by: patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/smoke.ts | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/tokens/smoke.ts diff --git a/src/index.ts b/src/index.ts index 11abcfae..6c8cfe32 100644 --- a/src/index.ts +++ b/src/index.ts @@ -99,6 +99,7 @@ import rsergFetcher from "./tokens/rserg"; import shardsFetcher from "./tokens/shards"; import sharkyFetcher from "./tokens/sharky"; import shenFetcher from "./tokens/shen"; +import smokeFetcher from "./tokens/smoke"; import snekFetcher from "./tokens/snek"; import snepeFetcher from "./tokens/snepe"; import snowFetcher from "./tokens/snow"; @@ -173,6 +174,8 @@ export const supplyFetchers: Record = { vyfiFetcher, a0028f350aaabe0545fdcb56b039bfb08e4bb4d8c4d7c3c7d481c235484f534b59: hoskyFetcher, + dd00d877798443a2de57e5bc667784168616aa8244b558743e448784534d4f4b45: + smokeFetcher, "815418a1b078a259e678ecccc9d7eac7648d10b88f6f75ce2db8a25a4672616374696f6e2045737461746520546f6b656e": fetFetcher, dda5fdb1002f7389b33e036b6afee82a8189becb6cba852e8b79b4fb0014df1047454e53: diff --git a/src/tokens/smoke.ts b/src/tokens/smoke.ts new file mode 100644 index 00000000..6f959bfa --- /dev/null +++ b/src/tokens/smoke.ts @@ -0,0 +1,22 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SMOKE = "dd00d877798443a2de57e5bc667784168616aa8244b558743e448784534d4f4b45"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 6_900_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, SMOKE, [ + "stake1uyzckf6tcr4d3mqu9y9z8xuqmjygsnj0pr5440fls49su8c4xygss", // $smoketeam + "stake1uxqs97h0whyzrfjesqn93gzv6k2e6chgw74ze3e20djtshgcq8xk4", // $smokemarketing + ]); + + const treasury = Number(treasuryRaw); + + return { + circulating: (total - treasury).toString(), + total: (total).toString(), + }; +}; + +export default fetcher; From 6719809b9bbd65ed380d679f661897f04bab14fa Mon Sep 17 00:00:00 2001 From: Jonathan <86567273+TruthSeeker1987@users.noreply.github.com> Date: Tue, 14 May 2024 21:31:39 -0300 Subject: [PATCH 28/62] Create Manny.ts - Market cap info (#294) * Create Manny token - Market cap info * Rename Manny to Manny.ts * Change filename to lowercase --------- Co-authored-by: patrik <51710571+shadowkora@users.noreply.github.com> --- src/tokens/manny.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/tokens/manny.ts diff --git a/src/tokens/manny.ts b/src/tokens/manny.ts new file mode 100644 index 00000000..3c42c7c0 --- /dev/null +++ b/src/tokens/manny.ts @@ -0,0 +1,21 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const MANNY = + "338c17dffaaefdb97ace91100724836178c3f9dd994a4798a66f546d4d414e4e59"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + // + const total = 10_000_000n; + const totalOnCardano = 10_000_000n; + const treasury = await getAmountInAddresses(blockFrost, MANNY, [ + "stake1uxmvymdlwu7rp7r3gclva7m9tgzy60xp3tkqtj2kh7d35nqumsfd2" + ]); + return { + circulating: (totalOnCardano - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From cb1b8c4341327a5c78c858e2af88f19a91b3a62a Mon Sep 17 00:00:00 2001 From: Jonathan <86567273+TruthSeeker1987@users.noreply.github.com> Date: Tue, 14 May 2024 21:43:41 -0300 Subject: [PATCH 29/62] Update index.ts (#299) * Update index.ts * Run npm format --------- Co-authored-by: patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 6c8cfe32..b22336ed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -64,6 +64,7 @@ import lifiFetcher from "./tokens/lifi"; import lobsterFetcher from "./tokens/lobster"; import liqwidFetcher from "./tokens/lq"; import lwhFetcher from "./tokens/lwh"; +import mannyFetcher from "./tokens/manny"; import mayzFetcher from "./tokens/mayz"; import meldFetcher from "./tokens/meld"; import milkFetcher from "./tokens/milk"; @@ -131,6 +132,8 @@ import { SupplyFetcher } from "./types"; export * from "./types"; export const supplyFetchers: Record = { + "338c17dffaaefdb97ace91100724836178c3f9dd994a4798a66f546d4d414e4e59": + mannyFetcher, "29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c64d494e": minFetcher, "577f0b1342f8f8f4aed3388b80a8535812950c7a892495c0ecdf0f1e0014df10464c4454": fldtFetcher, From bac69ec3bac1a0fe01459f1d98211a127c1e8669 Mon Sep 17 00:00:00 2001 From: SynthLuvr <131367121+SynthLuvr@users.noreply.github.com> Date: Wed, 15 May 2024 01:43:59 +0100 Subject: [PATCH 30/62] Added MyUSD (#297) * Added MyUSD * Added MyUSD featcher to index --- src/index.ts | 3 +++ src/tokens/myusd.ts | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 src/tokens/myusd.ts diff --git a/src/index.ts b/src/index.ts index b22336ed..83799cf3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -76,6 +76,7 @@ import moaiFetcher from "./tokens/moai"; import mrHankeyFetcher from "./tokens/mrhankey"; import mtcFetcher from "./tokens/mtc"; import myieldFetcher from "./tokens/myield"; +import myusdFetcher from "./tokens/myusd"; import nebulaFetcher from "./tokens/nebula"; import newmFetcher from "./tokens/newm"; import nftcFetcher from "./tokens/nftc"; @@ -249,6 +250,8 @@ export const supplyFetchers: Record = { awooFetcher, "43b07d4037f0d75ee10f9863097463fc02ff3c0b8b705ae61d9c75bf4d796e746820546f6b656e": mntFetcher, + "92776616f1f32c65a173392e4410a3d8c39dcf6ef768c73af164779c4d79555344": + myusdFetcher, "1ddcb9c9de95361565392c5bdff64767492d61a96166cb16094e54be4f5054": optFetcher, e52964af4fffdb54504859875b1827b60ba679074996156461143dc14f5054494d: optimFetcher, diff --git a/src/tokens/myusd.ts b/src/tokens/myusd.ts new file mode 100644 index 00000000..ec2b388d --- /dev/null +++ b/src/tokens/myusd.ts @@ -0,0 +1,16 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getBlockFrostInstance } from "../utils"; + +const MyUSD = "92776616f1f32c65a173392e4410a3d8c39dcf6ef768c73af164779c4d79555344"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const assetInfo = await blockFrost.assetsById(MyUSD); + const circulating = Number(assetInfo?.quantity) / 1e6; + return { + circulating: circulating.toString(), + total: circulating.toString(), + }; +}; + +export default fetcher; From 5bbaac7fad4b4dc69985db07fd17533b10c4729d Mon Sep 17 00:00:00 2001 From: Intraconnection <162527459+Intraconnection@users.noreply.github.com> Date: Tue, 14 May 2024 20:54:32 -0400 Subject: [PATCH 31/62] Updated SMOKE burn wallet (#309) * Add files via upload * Update smoke.ts * Update smoke.ts * Update index.ts * Update index.ts * Fix formatting * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Run formatting * Update smoke.ts * Fix code * Remove dual decleration --------- Co-authored-by: patrik <51710571+shadowkora@users.noreply.github.com> --- src/tokens/smoke.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tokens/smoke.ts b/src/tokens/smoke.ts index 6f959bfa..410be6ea 100644 --- a/src/tokens/smoke.ts +++ b/src/tokens/smoke.ts @@ -13,9 +13,14 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const treasury = Number(treasuryRaw); + const burnRaw = await getAmountInAddresses(blockFrost, SMOKE, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + const burn = Number(burnRaw); + return { - circulating: (total - treasury).toString(), - total: (total).toString(), + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), }; }; From f1fd155841f0955d89fdf02f2b2e967c1feaf07c Mon Sep 17 00:00:00 2001 From: similiken <122702393+similiken@users.noreply.github.com> Date: Tue, 14 May 2024 20:55:21 -0400 Subject: [PATCH 32/62] Decimal fix - ady and ashib (#310) Added previously missing decimal support. --- src/tokens/ady.ts | 4 ++-- src/tokens/ashib.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tokens/ady.ts b/src/tokens/ady.ts index a04a12ab..2505b676 100644 --- a/src/tokens/ady.ts +++ b/src/tokens/ady.ts @@ -19,8 +19,8 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { "addr1w8t6qhfx7cty7pg805adz62gjfkld0c70usezv4e4uxfk0sf0e2mj", // burn wallet ]); - const treasury = Number(treasuryRaw); - const burn = Number(burnRaw); + const treasury = Number(treasuryRaw) / 1e7; + const burn = Number(burnRaw) / 1e7; return { circulating: (total - treasury - burn).toString(), total: (total - burn).toString(), diff --git a/src/tokens/ashib.ts b/src/tokens/ashib.ts index 19ea97b5..de4fb5ac 100644 --- a/src/tokens/ashib.ts +++ b/src/tokens/ashib.ts @@ -24,8 +24,8 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { "addr1w8qvvu0m5jpkgxn3hwfd829hc5kfp0cuq83tsvgk44752dsea0svn", // burn wallet ]); - const treasury = Number(treasuryRaw); - const burn = Number(burnRaw); + const treasury = Number(treasuryRaw) / 1e6; + const burn = Number(burnRaw) / 1e6; return { circulating: (total - treasury - burn).toString(), total: (total - burn).toString(), From 988cc6005b7054845fc68699b364ee0c5f4d5d9b Mon Sep 17 00:00:00 2001 From: xEVILWARx <28636031+xEVILWARx@users.noreply.github.com> Date: Mon, 3 Jun 2024 01:18:05 +0330 Subject: [PATCH 33/62] add gldsnek (#314) * add gldsnek * add gldsnek index.ts * Update index.ts * Update index.ts * Update index.ts * update index.ts --------- Co-authored-by: root --- src/index.ts | 3 +++ src/tokens/gldsnek.ts | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/tokens/gldsnek.ts diff --git a/src/index.ts b/src/index.ts index 83799cf3..0feedf00 100644 --- a/src/index.ts +++ b/src/index.ts @@ -46,6 +46,7 @@ import frenFetcher from "./tokens/fren"; import gensFetcher from "./tokens/gens"; import gensxFetcher from "./tokens/gensx"; import geroFetcher from "./tokens/gero"; +import gldsnekFetcher from "./tokens/gldsnek"; import gokeyFetcher from "./tokens/gokey"; import herbFetcher from "./tokens/herb"; import hoskyFetcher from "./tokens/hosky"; @@ -351,6 +352,8 @@ export const supplyFetchers: Record = { adyFetcher, "8c904e09d2ba206d78e6904133659dadf827e478a8f71beb8e4a823a504f524b45": porkeFetcher, + cdbbe391853676285131fe2de250e274dbeb5f9d98344e86c7b383d9474c44534e454b: + gldsnekFetcher, f7516c9f7b347eb412a777f3c711099b199ccd2be23b568a4a3abf6d535058: spxFetcher, "5b26e685cc5c9ad630bde3e3cd48c694436671f3d25df53777ca60ef4e564c": nvlFetcher, "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": diff --git a/src/tokens/gldsnek.ts b/src/tokens/gldsnek.ts new file mode 100644 index 00000000..7457e576 --- /dev/null +++ b/src/tokens/gldsnek.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const gldsnek = "cdbbe391853676285131fe2de250e274dbeb5f9d98344e86c7b383d9474c44534e454b"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 78_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, gldsnek, [ + "addr1q8uu7utay9dfjyxqrdqmal3nn6g2q0x6zcg906cxdyl0z005f4expj22ee6clpveucn5r8qsxvc96pm2266re27y0gss6nrg7z", // Team + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, gldsnek, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; \ No newline at end of file From c94803607e5af4f4d5e5c906bd7fe91df98b5403 Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:23:30 -0400 Subject: [PATCH 34/62] MIRA supply (#311) Co-authored-by: jacobwarren44 --- src/index.ts | 3 +++ src/tokens/mira.ts | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 src/tokens/mira.ts diff --git a/src/index.ts b/src/index.ts index 0feedf00..668c237d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -72,6 +72,7 @@ import milkFetcher from "./tokens/milk"; import milkv2Fetcher from "./tokens/milkv2"; import minFetcher from "./tokens/min"; import mintFetcher from "./tokens/mint"; +import miraFetcher from "./tokens/mira"; import mntFetcher from "./tokens/mnt"; import moaiFetcher from "./tokens/moai"; import mrHankeyFetcher from "./tokens/mrhankey"; @@ -359,4 +360,6 @@ export const supplyFetchers: Record = { "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": clarityFetcher, "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, + "160a880d9fc45380737cb7e57ff859763230aab28b3ef6a84007bfcc4d495241": + miraFetcher, }; diff --git a/src/tokens/mira.ts b/src/tokens/mira.ts new file mode 100644 index 00000000..601c69da --- /dev/null +++ b/src/tokens/mira.ts @@ -0,0 +1,24 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const MIRA = "160a880d9fc45380737cb7e57ff859763230aab28b3ef6a84007bfcc4d495241"; +const TREASURY_ADDRESSES = [ + "stake1u8u8czgsydjjm4996maz3g8jkk48ft3ezwhnklna220w6pglrlsl4", + "stake1uydyqtn0ys86nwv8rp8l6933va4yzdtjx0zr0jseannm23gdm8uuc", + "stake1u8qjh854gy66knmpemu32pstmp5dy67txdya0cqlxeuwl3qpd5qxg", + "stake1u9afgy0npvt9sal5vzlm5t6n5uyvch8t9mmznhtkn9wjacgfdtldf" +]; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1e9; // 1 billion + const treasury = + Number(await getAmountInAddresses(blockFrost, MIRA, TREASURY_ADDRESSES)) / + 1e2; + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From daeba5ea2e727dd1e46e9aaa90913e9b786da4be Mon Sep 17 00:00:00 2001 From: SpectrumLabs Bot <92216586+SpectrumLabsBot@users.noreply.github.com> Date: Wed, 5 Jun 2024 02:28:36 +0300 Subject: [PATCH 35/62] Create splash.ts (#312) * Create splash.ts * fix: index * fix: rerun ci * fix: rm rerun comment --------- Co-authored-by: yashablack Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/splash.ts | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/tokens/splash.ts diff --git a/src/index.ts b/src/index.ts index 668c237d..3dcc3d89 100644 --- a/src/index.ts +++ b/src/index.ts @@ -109,6 +109,7 @@ import snepeFetcher from "./tokens/snepe"; import snowFetcher from "./tokens/snow"; import societyFetcher from "./tokens/society"; import spfFetcher from "./tokens/spf"; +import splashFetcher from "./tokens/splash"; import spxFetcher from "./tokens/spx"; import stableFetcher from "./tokens/stable"; import sundaeFetcher from "./tokens/sundae"; @@ -360,6 +361,8 @@ export const supplyFetchers: Record = { "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": clarityFetcher, "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, + ececc92aeaaac1f5b665f567b01baec8bc2771804b4c21716a87a4e353504c415348: + splashFetcher, "160a880d9fc45380737cb7e57ff859763230aab28b3ef6a84007bfcc4d495241": miraFetcher, }; diff --git a/src/tokens/splash.ts b/src/tokens/splash.ts new file mode 100644 index 00000000..b9443a08 --- /dev/null +++ b/src/tokens/splash.ts @@ -0,0 +1,23 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SPLASH = "ececc92aeaaac1f5b665f567b01baec8bc2771804b4c21716a87a4e353504c415348"; +const TREASURY_ADDRESSES = [ + "addr1x96ug4cwkcj6azqmx235c543t8m08uljc742had6c35gzvllzldzmfztwhxahljux7gq8v85j75a9rwhnq4emqvg3uhs8qh80w", // Temporal inflation vault + "addr1q96p2l077gtj4cpn6md5lfwa39gqzkjum2hyvyrzfgmmk644xkv048skchrn36ekysu82z3rdk0m5xgysms6aj67ekfqy0eh3v", // Minting address + "addr1w8jxjly04tdcm8dvhuev4tvfrr9xtuquylf9f4679nnlkws3vwhzn", // Team vesting contract address +]; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1e8; + const treasury = + Number(await getAmountInAddresses(blockFrost, SPLASH, TREASURY_ADDRESSES)) / + 1e6; + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 52094a274c3a8e4dc27083b5362e9bd7b84fe0fb Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:33:51 -0400 Subject: [PATCH 36/62] Add supply for BOX (#313) Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 2 ++ src/tokens/box.ts | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/tokens/box.ts diff --git a/src/index.ts b/src/index.ts index 3dcc3d89..ff9eb878 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,6 +11,7 @@ import bankFetcher from "./tokens/bank"; import betFetcher from "./tokens/bet"; import bookFetcher from "./tokens/book"; import boonFetcher from "./tokens/boon"; +import boxFetcher from "./tokens/box"; import btnFetcher from "./tokens/btn"; import bubbleFetcher from "./tokens/bubble"; import c3Fetcher from "./tokens/c3"; @@ -361,6 +362,7 @@ export const supplyFetchers: Record = { "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": clarityFetcher, "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, + f9a491442678bb2f90a3be676d1f888ce87330003ab7151f9efb3b68424f58: boxFetcher, ececc92aeaaac1f5b665f567b01baec8bc2771804b4c21716a87a4e353504c415348: splashFetcher, "160a880d9fc45380737cb7e57ff859763230aab28b3ef6a84007bfcc4d495241": diff --git a/src/tokens/box.ts b/src/tokens/box.ts new file mode 100644 index 00000000..f80128cc --- /dev/null +++ b/src/tokens/box.ts @@ -0,0 +1,20 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const BOX = + "f9a491442678bb2f90a3be676d1f888ce87330003ab7151f9efb3b68424f58"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1e9; + const treasuryRaw = await getAmountInAddresses(blockFrost, BOX, [ + "stake1uytg7kp24lqu4rnq9eyyc7ja2xzwshgrtrtmddr7zzlguqgzjqyyc" + ]); + const treasury = Number(treasuryRaw); + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 13dedb84a0b251cb46f66dc41dc562d7e4c22869 Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:45:14 -0400 Subject: [PATCH 37/62] NOEL supply (#315) Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 2 ++ src/tokens/noel.ts | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/tokens/noel.ts diff --git a/src/index.ts b/src/index.ts index ff9eb878..552a4eff 100644 --- a/src/index.ts +++ b/src/index.ts @@ -85,6 +85,7 @@ import newmFetcher from "./tokens/newm"; import nftcFetcher from "./tokens/nftc"; import ninjazFetcher from "./tokens/ninjaz"; import nmkrFetcher from "./tokens/nmkr"; +import noelFetcher from "./tokens/noel"; import ntxFetcher from "./tokens/ntx"; import nvlFetcher from "./tokens/nvl"; import optFetcher from "./tokens/opt"; @@ -362,6 +363,7 @@ export const supplyFetchers: Record = { "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": clarityFetcher, "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, + b17b04ec0b8fa48613d7c80bc09a810e8bc8297cbbb6e9f4949fd8424e4f454c: noelFetcher, f9a491442678bb2f90a3be676d1f888ce87330003ab7151f9efb3b68424f58: boxFetcher, ececc92aeaaac1f5b665f567b01baec8bc2771804b4c21716a87a4e353504c415348: splashFetcher, diff --git a/src/tokens/noel.ts b/src/tokens/noel.ts new file mode 100644 index 00000000..37a241c9 --- /dev/null +++ b/src/tokens/noel.ts @@ -0,0 +1,20 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const NOEL = + "b17b04ec0b8fa48613d7c80bc09a810e8bc8297cbbb6e9f4949fd8424e4f454c"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 5_310_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, NOEL, [ + "addr1v94yd0rgueuum6964du46xcnp4qr3kzpsxjwpx8avqcnpkcdm8dru" + ]); + const treasury = Number(treasuryRaw); + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 5297c01a6b3571424fe7b5eae169a83475065305 Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:58:30 -0400 Subject: [PATCH 38/62] babyshitzu supply (#316) Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/babyshitzu.ts | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/tokens/babyshitzu.ts diff --git a/src/index.ts b/src/index.ts index 552a4eff..980aa5a2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,6 +6,7 @@ import angelsFetcher from "./tokens/angels"; import ashibFetcher from "./tokens/ashib"; import awooFetcher from "./tokens/awoo"; import axoFetcher from "./tokens/axo"; +import babyshitzuFetcher from "./tokens/babyshitzu"; import babysnekFetcher from "./tokens/babysnek"; import bankFetcher from "./tokens/bank"; import betFetcher from "./tokens/bet"; @@ -363,6 +364,8 @@ export const supplyFetchers: Record = { "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": clarityFetcher, "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, + "83099a945e95a38d3dc3ab562af81671ed094becf493074251d3f45062616279536869747a75": + babyshitzuFetcher, b17b04ec0b8fa48613d7c80bc09a810e8bc8297cbbb6e9f4949fd8424e4f454c: noelFetcher, f9a491442678bb2f90a3be676d1f888ce87330003ab7151f9efb3b68424f58: boxFetcher, ececc92aeaaac1f5b665f567b01baec8bc2771804b4c21716a87a4e353504c415348: diff --git a/src/tokens/babyshitzu.ts b/src/tokens/babyshitzu.ts new file mode 100644 index 00000000..f8ddca51 --- /dev/null +++ b/src/tokens/babyshitzu.ts @@ -0,0 +1,29 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const TOKEN = "83099a945e95a38d3dc3ab562af81671ed094becf493074251d3f45062616279536869747a75"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 777_777_777_777; + const treasuryRaw = await getAmountInAddresses(blockFrost, TOKEN, [ + "stake1ux8qy73ylrk6pclmp880kffxz78t6vmq8jn04e2s6lchwps3fzafa", // giveaway + "stake1uxudsd30d6k5l4wwt0sf2t9numc2m8dpl3k45h2edxfqs3cccet2d", // advertising + "stake1u9nmczw7ulpns6nqunnc4lwxse3v0emwgvzpg33jl68rz4sznuhfz", // utility + "stake1u9rzlqgxczarm8ms0w5fqlj9nej5uctvduc6lqmn4xtp8mqyxdak9", // cex listings + "stake1uy5rkqrl06sn6lqfqsax2nwtcykjl9atyv4xmnfw9zq0yxch9ceqr", // team + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, TOKEN, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 991fe8eeb5aa519ac6dd1b20c34456275d44dfbb Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Wed, 12 Jun 2024 19:48:06 -0400 Subject: [PATCH 39/62] GOKEY V2 (#317) * GOKEY V2 * Run npm format --------- Co-authored-by: jacobwarren44 Co-authored-by: patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/gokeyv2.ts | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/tokens/gokeyv2.ts diff --git a/src/index.ts b/src/index.ts index 980aa5a2..2887723f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -50,6 +50,7 @@ import gensxFetcher from "./tokens/gensx"; import geroFetcher from "./tokens/gero"; import gldsnekFetcher from "./tokens/gldsnek"; import gokeyFetcher from "./tokens/gokey"; +import gokeyv2Fetcher from "./tokens/gokeyv2"; import herbFetcher from "./tokens/herb"; import hoskyFetcher from "./tokens/hosky"; import huntFetcher from "./tokens/hunt"; @@ -364,6 +365,8 @@ export const supplyFetchers: Record = { "1e76aaec4869308ef5b61e81ebf229f2e70f75a50223defa087f807b436c61726974792044414f20546f6b656e": clarityFetcher, "6947eccc74ebf8c1716339b97af768bfbc70d330a743b79bbc5ccdeb544554": tetFetcher, + ab0dec21aa7d939ad124ffaf95faf8ed72b1018ff72fffd8f9974907474f4b4559: + gokeyv2Fetcher, "83099a945e95a38d3dc3ab562af81671ed094becf493074251d3f45062616279536869747a75": babyshitzuFetcher, b17b04ec0b8fa48613d7c80bc09a810e8bc8297cbbb6e9f4949fd8424e4f454c: noelFetcher, diff --git a/src/tokens/gokeyv2.ts b/src/tokens/gokeyv2.ts new file mode 100644 index 00000000..3e802983 --- /dev/null +++ b/src/tokens/gokeyv2.ts @@ -0,0 +1,29 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const GOKEY = + "ab0dec21aa7d939ad124ffaf95faf8ed72b1018ff72fffd8f9974907474f4b4559"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const assetInfo = await blockFrost.assetsById(GOKEY); + const total = Number(assetInfo?.quantity) / 1e6; + + const treasuryRaw = await getAmountInAddresses(blockFrost, GOKEY, [ + "stake1uxectp3ej56dq8cmxz96h7g36xw5a4e0mlpyx9lm5rpqfgggdsfu8", // $gokey + "stake1uye2d70tlf6vkg6chq3l7v50e25cw8w4he34ge2zymgntnqksny6w", // $gokeydao + "stake1u8eu0cx5eqchx7hr4py0j0rnepx722klgwqpweardgqmx7cr230hu", + "stake1u8xujuxpuj0wxjm2n6qqff9l4nrjgpfdjr3ffaj006s4wmckvk0wj", // $gokeyispo + "stake1uyekd377dmet3vqyaawllvtz0xjjzxaq3k3ktl0g63zyrxch72pyc", + "stake1u95ear6v2rkdkj2ul4zeet07m6rq33q8c6rk476u8l6fz3cng6mrt", + "stake1u97dxtu3597x64mtkx47uz47vzfwr7tmktrkjweutd7xsggawhhnn" + ]); + const treasury = Number(treasuryRaw) / 1e6; + + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 67b4c83a916407ab44c41c5d4bb8dd7ac7877fd8 Mon Sep 17 00:00:00 2001 From: adakondacoin <135918761+adakondacoin@users.noreply.github.com> Date: Thu, 13 Jun 2024 01:54:00 +0200 Subject: [PATCH 40/62] Rex (#318) * Create rex.ts * Update index.ts * Update index.ts * Run npm format --------- Co-authored-by: patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 2 ++ src/tokens/rex.ts | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/tokens/rex.ts diff --git a/src/index.ts b/src/index.ts index 2887723f..b76fd072 100644 --- a/src/index.ts +++ b/src/index.ts @@ -102,6 +102,7 @@ import pugchipFetcher from "./tokens/pugchip"; import punksFetcher from "./tokens/punks"; import rakerFetcher from "./tokens/raker"; import revuFetcher from "./tokens/revu"; +import rexFetcher from "./tokens/rex"; import rjvFetcher from "./tokens/rjv"; import rsergFetcher from "./tokens/rserg"; import shardsFetcher from "./tokens/shards"; @@ -299,6 +300,7 @@ export const supplyFetchers: Record = { derpFetcher, "2d587111358801114f04df83dc0015de0a740b462b75cce5170fc935434749": cgiFetcher, fc11a9ef431f81b837736be5f53e4da29b9469c983d07f321262ce614652454e: frenFetcher, + "61fe4feee9d051c75b20d11701c3154ae95d9857bd429ffb85087eae526578": rexFetcher, "20cd68533b47565f3c61efb39c30fdace9963bfa4c0060b613448e3c50524f584945": proxiesFetcher, f6ac48c64aa7af16434d9f84e014d11fba38525b436acc338ff20b0d4d7463: mtcFetcher, diff --git a/src/tokens/rex.ts b/src/tokens/rex.ts new file mode 100644 index 00000000..1f031a9c --- /dev/null +++ b/src/tokens/rex.ts @@ -0,0 +1,22 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const rex = + "61fe4feee9d051c75b20d11701c3154ae95d9857bd429ffb85087eae526578"; + +const rexFetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1_000_000_000; + + const burnRaw = await getAmountInAddresses(blockFrost, rex, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", + ]); + + const burn = Number(burnRaw); + return { + circulating: (total - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default rexFetcher; From 888de2fb0c7a5894549a5f554d30acd16a36b7aa Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Wed, 12 Jun 2024 19:54:20 -0400 Subject: [PATCH 41/62] GME (#319) GME supply Co-authored-by: jacobwarren44 --- src/index.ts | 3 +++ src/tokens/gme.ts | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/tokens/gme.ts diff --git a/src/index.ts b/src/index.ts index b76fd072..cb3f6e76 100644 --- a/src/index.ts +++ b/src/index.ts @@ -49,6 +49,7 @@ import gensFetcher from "./tokens/gens"; import gensxFetcher from "./tokens/gensx"; import geroFetcher from "./tokens/gero"; import gldsnekFetcher from "./tokens/gldsnek"; +import gmeFetcher from "./tokens/gme"; import gokeyFetcher from "./tokens/gokey"; import gokeyv2Fetcher from "./tokens/gokeyv2"; import herbFetcher from "./tokens/herb"; @@ -377,4 +378,6 @@ export const supplyFetchers: Record = { splashFetcher, "160a880d9fc45380737cb7e57ff859763230aab28b3ef6a84007bfcc4d495241": miraFetcher, + e4b8e9d247d9aa043bb9e13b38989b11b02c595450e6313aebdf6c1f47616d6553746f70: + gmeFetcher, }; diff --git a/src/tokens/gme.ts b/src/tokens/gme.ts new file mode 100644 index 00000000..570c7d48 --- /dev/null +++ b/src/tokens/gme.ts @@ -0,0 +1,21 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const GME = "e4b8e9d247d9aa043bb9e13b38989b11b02c595450e6313aebdf6c1f47616d6553746f70"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 21e6; + + const burnRaw = await getAmountInAddresses(blockFrost, GME, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const burn = Number(burnRaw); + return { + circulating: (total - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 39fb9e280f5d363a97ecbafb08d7c8cc7f3eccd4 Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Wed, 12 Jun 2024 20:00:59 -0400 Subject: [PATCH 42/62] BAG (#320) Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 2 ++ src/tokens/bag.ts | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/tokens/bag.ts diff --git a/src/index.ts b/src/index.ts index cb3f6e76..79d58d84 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,6 +8,7 @@ import awooFetcher from "./tokens/awoo"; import axoFetcher from "./tokens/axo"; import babyshitzuFetcher from "./tokens/babyshitzu"; import babysnekFetcher from "./tokens/babysnek"; +import bagFetcher from "./tokens/bag"; import bankFetcher from "./tokens/bank"; import betFetcher from "./tokens/bet"; import bookFetcher from "./tokens/book"; @@ -378,6 +379,7 @@ export const supplyFetchers: Record = { splashFetcher, "160a880d9fc45380737cb7e57ff859763230aab28b3ef6a84007bfcc4d495241": miraFetcher, + "548c390391253aff00af9c95ae310f00803fd28035a6ed6f17c1e5e2424147": bagFetcher, e4b8e9d247d9aa043bb9e13b38989b11b02c595450e6313aebdf6c1f47616d6553746f70: gmeFetcher, }; diff --git a/src/tokens/bag.ts b/src/tokens/bag.ts new file mode 100644 index 00000000..8e65e55e --- /dev/null +++ b/src/tokens/bag.ts @@ -0,0 +1,22 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const BAG = + "548c390391253aff00af9c95ae310f00803fd28035a6ed6f17c1e5e2424147"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1e9; + + const treasuryRaw = await getAmountInAddresses(blockFrost, BAG, [ + "stake1uxwvvuluasxf456sjuqcdfnlv3gecykp6ajf5ds4r09xkzgvwml26", + ]); + const treasury = Number(treasuryRaw); + + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 8ad62f5b38adc4b8774d7c232a0dc5f6b1d73e83 Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Mon, 17 Jun 2024 21:00:57 -0400 Subject: [PATCH 43/62] CERRA (#321) Co-authored-by: jacobwarren44 --- src/index.ts | 3 +++ src/tokens/cerra.ts | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/tokens/cerra.ts diff --git a/src/index.ts b/src/index.ts index 79d58d84..5d22fc8a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,6 +21,7 @@ import c4Fetcher from "./tokens/c4"; import catskyFetcher from "./tokens/catsky"; import cblpFetcher from "./tokens/cblp"; 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"; @@ -379,6 +380,8 @@ export const supplyFetchers: Record = { splashFetcher, "160a880d9fc45380737cb7e57ff859763230aab28b3ef6a84007bfcc4d495241": miraFetcher, + "4342a3d3c15545a592bf38294dc75c7a1dd3550388303e3a06f4416d4345525241": + cerraFetcher, "548c390391253aff00af9c95ae310f00803fd28035a6ed6f17c1e5e2424147": bagFetcher, e4b8e9d247d9aa043bb9e13b38989b11b02c595450e6313aebdf6c1f47616d6553746f70: gmeFetcher, diff --git a/src/tokens/cerra.ts b/src/tokens/cerra.ts new file mode 100644 index 00000000..d17e56f5 --- /dev/null +++ b/src/tokens/cerra.ts @@ -0,0 +1,27 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const CERRA = "4342a3d3c15545a592bf38294dc75c7a1dd3550388303e3a06f4416d4345525241"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 50e6; + const treasuryRaw = await getAmountInAddresses(blockFrost, CERRA, [ + "stake1u98g0de8y36dywtn77h29yx4vvq0enrrptj7h5duk8j054cnkx4f0", + "stake1uxy65hljr7hfpxl0pq0vcd87ccgnlap3hsyex7u30xq5hncrlsrtc", + "stake1uxy34uvrwarmjglnhlwhrd78enprcs2anpk9y6u590k9xwcv3wq3x", + "stake1u8nvv344u5lf7t2m7zpc93jkx0vjax4ndljvjauvaw9ccjsn690j0", + "stake1uy4z60a3jf05f2d4524vjguk8zel8ahumlkd8z80kdy90yqnmk88f", + "stake1u8f9gavng935n454ydfm8qzwxcl58mymxs056kln8zhvqlggdle3x", + "addr1w9l6mmpe5h2htkut4hgyf0tkqn3ng59dmhwx3g8wuhjdy9cd0v7wr", + "stake1u8cja9hqxkm67aeyuw8uqudnmndua4nzpvlzdhrvejl842glyn9r8", + ]); + + const treasury = Number(treasuryRaw)/1e6; + return { + circulating: (total - treasury).toString(), + total: (total).toString(), + }; +}; + +export default fetcher; From a265478b4f07878e32edcc0cec7994d5b4b0a6c3 Mon Sep 17 00:00:00 2001 From: Manuel Haug Date: Tue, 18 Jun 2024 03:01:53 +0200 Subject: [PATCH 44/62] Add rsBTC and rsRSN (#323) add rsBTC and rsRSN --- src/index.ts | 6 ++++++ src/tokens/rsbtc.ts | 39 +++++++++++++++++++++++++++++++++++++++ src/tokens/rsrsn.ts | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 src/tokens/rsbtc.ts create mode 100644 src/tokens/rsrsn.ts diff --git a/src/index.ts b/src/index.ts index 5d22fc8a..da22802f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -107,7 +107,9 @@ import rakerFetcher from "./tokens/raker"; import revuFetcher from "./tokens/revu"; import rexFetcher from "./tokens/rex"; import rjvFetcher from "./tokens/rjv"; +import rsbtcFetcher from "./tokens/rsbtc"; import rsergFetcher from "./tokens/rserg"; +import rsrsnFetcher from "./tokens/rsrsn"; import shardsFetcher from "./tokens/shards"; import sharkyFetcher from "./tokens/sharky"; import shenFetcher from "./tokens/shen"; @@ -385,4 +387,8 @@ export const supplyFetchers: Record = { "548c390391253aff00af9c95ae310f00803fd28035a6ed6f17c1e5e2424147": bagFetcher, e4b8e9d247d9aa043bb9e13b38989b11b02c595450e6313aebdf6c1f47616d6553746f70: gmeFetcher, + "2dbc49f682ad21f6d18705cf446f9f7a277731ab70ae21a454f888b27273425443": + rsbtcFetcher, + "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb14727352534e": + rsrsnFetcher, }; diff --git a/src/tokens/rsbtc.ts b/src/tokens/rsbtc.ts new file mode 100644 index 00000000..b4e4db0d --- /dev/null +++ b/src/tokens/rsbtc.ts @@ -0,0 +1,39 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const RSBTC = + "2dbc49f682ad21f6d18705cf446f9f7a277731ab70ae21a454f888b27273425443"; + +const ROSEN_BRIDGE_VAULT_ADDRESSES = [ + "addr1x8x6ca648w25x085dg8xs6k5e69yemr5hakcnl0gshmal6gahwzvy33q3jhr74lurpr9p0n8derw58fh7snq2zwxe8zsdkcqrj", +]; + +const ROSEN_BRIDGE_LOCK_ADDRESSES = [ + "addr1v8kqhz5lkdxqm8qtkn4lgd9f4890v0j6advjfmk5k9amu4c535lsu", +]; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 21_000_000; + + const rosenBridgeVault = + Number( + await getAmountInAddresses( + blockFrost, + RSBTC, + ROSEN_BRIDGE_VAULT_ADDRESSES + ) + ) / 1e8; + + const rosenBridgeLock = + Number( + await getAmountInAddresses(blockFrost, RSBTC, ROSEN_BRIDGE_LOCK_ADDRESSES) + ) / 1e8; + + return { + circulating: (total - rosenBridgeVault - rosenBridgeLock).toString(), + total: total.toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/rsrsn.ts b/src/tokens/rsrsn.ts new file mode 100644 index 00000000..8719789c --- /dev/null +++ b/src/tokens/rsrsn.ts @@ -0,0 +1,39 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const RSRSN = + "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb14727352534e"; + +const ROSEN_BRIDGE_VAULT_ADDRESSES = [ + "addr1x8x6ca648w25x085dg8xs6k5e69yemr5hakcnl0gshmal6gahwzvy33q3jhr74lurpr9p0n8derw58fh7snq2zwxe8zsdkcqrj", +]; + +const ROSEN_BRIDGE_LOCK_ADDRESSES = [ + "addr1v8kqhz5lkdxqm8qtkn4lgd9f4890v0j6advjfmk5k9amu4c535lsu", +]; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1_000_000_000; + + const rosenBridgeVault = + Number( + await getAmountInAddresses( + blockFrost, + RSRSN, + ROSEN_BRIDGE_VAULT_ADDRESSES + ) + ) / 1e3; + + const rosenBridgeLock = + Number( + await getAmountInAddresses(blockFrost, RSRSN, ROSEN_BRIDGE_LOCK_ADDRESSES) + ) / 1e3; + + return { + circulating: (total - rosenBridgeVault - rosenBridgeLock).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 581d8f77f1d672cab4c7c3957f7223263f281fe8 Mon Sep 17 00:00:00 2001 From: nexuscrypt <100082538+nexuscrypt@users.noreply.github.com> Date: Tue, 18 Jun 2024 02:02:18 +0100 Subject: [PATCH 45/62] Update chry (#325) * Update chry * Update chry --- src/tokens/chry.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tokens/chry.ts b/src/tokens/chry.ts index 02c68de5..0499c85c 100644 --- a/src/tokens/chry.ts +++ b/src/tokens/chry.ts @@ -3,9 +3,8 @@ import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; const CHRY = "75fcc276057db5fc48eae0e11453c773c8a54604c3086bf9d95ac1b743485259"; const TREASURY_ADDRESSES = [ - "stake1uxluurkaazlqyqfqn22acl6lprea52avn6da0q88yk46zfqrc93qj", - "stake1uxhksw267w4prvcvz4kw3xqy6jjwr04jv7n8vzjhzeu0fag2tgt9v", - "stake1u8ffzkegp8h48mare3g3ntf3xmjce3jqptsdtj38ee3yh3c9t4uum", // team tokens held at TosiDrop + "stake17ya8xvcc5h2mkeladwnw8vutr5qya3vau6z9dw7zgs6mmrgtqgz58", + "stake1u8ffzkegp8h48mare3g3ntf3xmjce3jqptsdtj38ee3yh3c9t4uum", // Community incentives + team tokens held at TosiDrop ]; const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { From 255db9f373ea13d6d512ab5603e8d973fb73c499 Mon Sep 17 00:00:00 2001 From: hunglow Date: Mon, 17 Jun 2024 18:13:42 -0700 Subject: [PATCH 46/62] Add GUMMY market cap and circulating supply (#327) Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/gummy.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/tokens/gummy.ts diff --git a/src/index.ts b/src/index.ts index da22802f..6f82692f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -54,6 +54,7 @@ import gldsnekFetcher from "./tokens/gldsnek"; import gmeFetcher from "./tokens/gme"; import gokeyFetcher from "./tokens/gokey"; import gokeyv2Fetcher from "./tokens/gokeyv2"; +import gummyFetcher from "./tokens/gummy"; import herbFetcher from "./tokens/herb"; import hoskyFetcher from "./tokens/hosky"; import huntFetcher from "./tokens/hunt"; @@ -387,6 +388,8 @@ export const supplyFetchers: Record = { "548c390391253aff00af9c95ae310f00803fd28035a6ed6f17c1e5e2424147": bagFetcher, e4b8e9d247d9aa043bb9e13b38989b11b02c595450e6313aebdf6c1f47616d6553746f70: gmeFetcher, + "394d8a0021c8825ad9385c1112009994e37b7b53c0c406d389d452db47756d6d79": + gummyFetcher, "2dbc49f682ad21f6d18705cf446f9f7a277731ab70ae21a454f888b27273425443": rsbtcFetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb14727352534e": diff --git a/src/tokens/gummy.ts b/src/tokens/gummy.ts new file mode 100644 index 00000000..8841a031 --- /dev/null +++ b/src/tokens/gummy.ts @@ -0,0 +1,26 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const GUMMY = + "394d8a0021c8825ad9385c1112009994e37b7b53c0c406d389d452db47756d6d79"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 10_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, GUMMY, [ + "stake1u8szpq85z7f9jv3nvtltzzkv025hpgaql2ec82v7lffse2cjg6lam", // $gummy-treasury + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, GUMMY, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // $burnsnek + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 5be08a3933b53ad14472efceac02b052546aff24 Mon Sep 17 00:00:00 2001 From: similiken <122702393+similiken@users.noreply.github.com> Date: Mon, 17 Jun 2024 21:14:27 -0400 Subject: [PATCH 47/62] ashib and mtc (#328) Removes circulation supply; that's sort of a pain to keep up with. --- src/tokens/ashib.ts | 14 -------------- src/tokens/mtc.ts | 23 +++-------------------- 2 files changed, 3 insertions(+), 34 deletions(-) diff --git a/src/tokens/ashib.ts b/src/tokens/ashib.ts index de4fb5ac..4d0806fb 100644 --- a/src/tokens/ashib.ts +++ b/src/tokens/ashib.ts @@ -7,27 +7,13 @@ const ASHIB = const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const blockFrost = getBlockFrostInstance(options); const total = 1_000_000_000_000; - const treasuryRaw = await getAmountInAddresses(blockFrost, ASHIB, [ - "addr1qxpv50tpyy9xutrzd3585eup87wm0qv3zyw4jfawqzchgyfltcw74v5edmr2veq0dvu4262jhendzee24ellgcamlqzsfzzfsq", // treasury 1 - "addr1q8dhkxncaznxd66tq5npvuqxl87zdw0glpazysxckl9gxfecnrdy6frmvrk2szfx2wsg9wa3z3wzctfmgaw7hcts7g6quzkakx", // treasury 2 - "addr1q8my0y2n7ythvevuyfur4w4akrc6mp454p2yp4pkjcrlwq2zhw8y7c92vew3fqwy7u4yrq66d2yt8wmd0tm3uyhsxaps59yy9y", // treasury 3 - "addr1qxrlzwkmv826sps9sfjdg3cr8malcr2wmfvhvt0sqpd84xaq4rezcdmnr9f52x0zsgpz3zl8klrwjhmynksx5lhs5scsdqcx9d", // treasury 4 - "addr1qxkmr0m22xeqludcg5rjdmecjxasu9fat0680qehtcsnftaadgykewa9ufvegeuca9yyq03d9v7ea2y2zthgu7hfgjtsddp6gr", // minswap farm distribution - "addr1qxpeczj2lluh88sa2g3tm0e3fj39c34rlctmvcszjs67g6wjj9djsz0020h68nz3rxknzdh93nryqzhq6h9z0nnzf0rshrectt", // tosidrop distribution - "addr1w9rerwzk0f5v4den9u2c7anv2d4dl88hq9cq0xgcmernsfsak7w6r", // dripdropz distribution - "addr1qx3wvec7uhweerzqaeezzepmrwft8sfpucgk50tsuluz8f8cfhlykwhxy66aazkjmfp4euf0yhpeezx3exncm7e69pvs7jetw6", // starcada distribution - "addr1q8xhjg9tn29a6vpv9e52xf8zn7hl7nqkv99kk4uac08myjud244wsz2v65xv0jc4tgjyfxrhgnmcav0upfcvcdv2d8qq7fqgh3", // adalot jackpot vending - "addr1qyjhg2ge6w6tzwc9gwmddp5ha07zsawpd3pse7v9a0893jufgx9ne2hurkmz7adclf0tpehwdqwuhfejtph98vpfhulscdnlzz", // adalot exchange vending - ]); const burnRaw = await getAmountInAddresses(blockFrost, ASHIB, [ "addr1w8qvvu0m5jpkgxn3hwfd829hc5kfp0cuq83tsvgk44752dsea0svn", // burn wallet ]); - const treasury = Number(treasuryRaw) / 1e6; const burn = Number(burnRaw) / 1e6; return { - circulating: (total - treasury - burn).toString(), total: (total - burn).toString(), }; }; diff --git a/src/tokens/mtc.ts b/src/tokens/mtc.ts index 3a28471c..42873aa1 100644 --- a/src/tokens/mtc.ts +++ b/src/tokens/mtc.ts @@ -1,25 +1,8 @@ -import { defaultFetcherOptions, SupplyFetcher } from "../types"; -import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; +import { SupplyFetcher } from "../types"; -const MTC = "f6ac48c64aa7af16434d9f84e014d11fba38525b436acc338ff20b0d4d7463"; -const TEAM_ADDRESSES = [ - "addr1qxw6ltkkfapk934cfhj8aswpv6pj9ejlqtuszcr3vp3nkcyl4z8jmxwk2u8knrqgptuc3f56hqxenmp45qscmeyxg0xs96x9qy", // team 1 - "addr1qy567alv55pznmx8newdj77tghetevq2jr39t5uz7vrk208l95lxy69yvjzpx79wu6lsrq54as3ynftrg0t0ecyfd59sl5xcxv", // team 2 - "addr1qx5705wkfz897qul8cck2w2ke4uxshal8ghu0m3tncy0sasq9sp8s22znmvqlmka7g20jckxyazqhjehg5q6h3ek0shs9cslz8", // team 3 - "addr1qx42lkkh8qhnetve4cmx74mzqx4qkssxz9ltmsn8nmgcxxs6gw4tkslgkhp8m2pgkedxlhtx7e8k5dj5xn7yt88p54kq69nh0h", // team 4 - "addr1q8yll2vw2h2dhv7fccdxwfm95puje3zelredzmw97w34hdwm9dndrhqfvas9nvg7rgn8wrwnzxsj7wp2msuthuvfuwsq9e905k", // snek staked - "addr1wxqg5vgp3fsh6ddmr0vhc5xuhrckhyav9emdtwpfmafaf5q63x6rc", //dripdropz bucket - "addr1qx3wvec7uhweerzqaeezzepmrwft8sfpucgk50tsuluz8f8cfhlykwhxy66aazkjmfp4euf0yhpeezx3exncm7e69pvs7jetw6", //starcada distribution -]; - -const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { - const blockFrost = getBlockFrostInstance(options); - const total = 1e6; // 1 million - const treasury = Number( - await getAmountInAddresses(blockFrost, MTC, TEAM_ADDRESSES) - ); +const fetcher: SupplyFetcher = async () => { + const total = 1_000_000; return { - circulating: (total - treasury).toString(), total: total.toString(), }; }; From e055a3b0b6d6c621e7a0fc60588a02a13d364050 Mon Sep 17 00:00:00 2001 From: NFTKri <166889251+NFTKri@users.noreply.github.com> Date: Mon, 17 Jun 2024 21:49:27 -0400 Subject: [PATCH 48/62] Add SSSS, SNUK, ACE, BPT market cap and circulating supply (#329) * Create ssss.ts * Create bpt.ts * Create ace.ts * Create snuk.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts --------- Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 11 +++++++++++ src/tokens/ace.ts | 27 +++++++++++++++++++++++++++ src/tokens/bpt.ts | 25 +++++++++++++++++++++++++ src/tokens/snuk.ts | 26 ++++++++++++++++++++++++++ src/tokens/ssss.ts | 26 ++++++++++++++++++++++++++ 5 files changed, 115 insertions(+) create mode 100644 src/tokens/ace.ts create mode 100644 src/tokens/bpt.ts create mode 100644 src/tokens/snuk.ts create mode 100644 src/tokens/ssss.ts diff --git a/src/index.ts b/src/index.ts index 6f82692f..5f972ed3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ import aadaFetcher from "./tokens/aada"; +import aceFetcher from "./tokens/ace"; import adyFetcher from "./tokens/ady"; import agcFetcher from "./tokens/agc"; import agixFetcher from "./tokens/agix"; @@ -14,6 +15,7 @@ import betFetcher from "./tokens/bet"; import bookFetcher from "./tokens/book"; import boonFetcher from "./tokens/boon"; import boxFetcher from "./tokens/box"; +import bptFetcher from "./tokens/bpt"; import btnFetcher from "./tokens/btn"; import bubbleFetcher from "./tokens/bubble"; import c3Fetcher from "./tokens/c3"; @@ -118,10 +120,12 @@ import smokeFetcher from "./tokens/smoke"; import snekFetcher from "./tokens/snek"; import snepeFetcher from "./tokens/snepe"; import snowFetcher from "./tokens/snow"; +import snukFetcher from "./tokens/snuk"; import societyFetcher from "./tokens/society"; import spfFetcher from "./tokens/spf"; import splashFetcher from "./tokens/splash"; import spxFetcher from "./tokens/spx"; +import ssssFetcher from "./tokens/ssss"; import stableFetcher from "./tokens/stable"; import sundaeFetcher from "./tokens/sundae"; import tedyFetcher from "./tokens/tedy"; @@ -383,6 +387,13 @@ export const supplyFetchers: Record = { splashFetcher, "160a880d9fc45380737cb7e57ff859763230aab28b3ef6a84007bfcc4d495241": miraFetcher, + "7d9aabc78703947e931e28273a96cf7412039fbd2e54a90ffb17239c42616279506f726b65": + aceFetcher, + "4de3c5d6b555c99c7f56a1f917567288f025f337cdf233d99e462a1353737373": + ssssFetcher, + "246d6a8493dd02c1243ccae10b3275f318e4f3144140d05c4c28c422536e556b": + snukFetcher, + d42729a8559b38c5d13009d653e4086404234bdb535a97b945c6ea78425054: bptFetcher, "4342a3d3c15545a592bf38294dc75c7a1dd3550388303e3a06f4416d4345525241": cerraFetcher, "548c390391253aff00af9c95ae310f00803fd28035a6ed6f17c1e5e2424147": bagFetcher, diff --git a/src/tokens/ace.ts b/src/tokens/ace.ts new file mode 100644 index 00000000..aa30ee98 --- /dev/null +++ b/src/tokens/ace.ts @@ -0,0 +1,27 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const ACE = "7d9aabc78703947e931e28273a96cf7412039fbd2e54a90ffb17239c42616279506f726b65"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1_000_000_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, ACE, [ + "stake1u8wwshdrztua5qhd9g06g68692dvrgqksncccpxv7pgpzwgd5mxuy", // Treasury + "stake1uxmtrg8cs7d86u8hydvpgjntgnn8apvrpqawaff0f9a270gfhpzpg", // acecoinada + "stake1u82ls6hlnx0hh8ph5fl6kqdxx7mvw9kqz2563l7ukhxwxec0mtv4y", // Farmbot + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, ACE, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/bpt.ts b/src/tokens/bpt.ts new file mode 100644 index 00000000..819451c1 --- /dev/null +++ b/src/tokens/bpt.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const BPT = "d42729a8559b38c5d13009d653e4086404234bdb535a97b945c6ea78425054"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 155_000_000_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, BPT, [ + "stake1uypqrgwhdktwdc0735wvtclvttu5nxp48fvq6mv742gmmhcjh0xu8", // Treasury + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, BPT, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/snuk.ts b/src/tokens/snuk.ts new file mode 100644 index 00000000..cbbd0d9b --- /dev/null +++ b/src/tokens/snuk.ts @@ -0,0 +1,26 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SNUK = "246d6a8493dd02c1243ccae10b3275f318e4f3144140d05c4c28c422536e556b"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 100_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, SNUK, [ + "stake1u8fa4qqljq4kz3hrwnmf76t9w383vl9058rs2mj767hg79g30xyee", // $Snuk + "stake1uxdxf8sjds7nrz8fymjyjrp5kw4cjtdvn6n69qrhkfz8jncnppg45", // $Snuk-staking + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, SNUK, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/ssss.ts b/src/tokens/ssss.ts new file mode 100644 index 00000000..63d357fe --- /dev/null +++ b/src/tokens/ssss.ts @@ -0,0 +1,26 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SSSS = + "4de3c5d6b555c99c7f56a1f917567288f025f337cdf233d99e462a1353737373"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 7_777_777_777; + const treasuryRaw = await getAmountInAddresses(blockFrost, SSSS, [ + "stake17xjrxzlfv3l9dtlykenxxf4zckh287hmwvzrg3pzhq7n6xqg39z66", // $Sssstreasury + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, SSSS, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From d0f2420b23d3878b09ac5ce9299be6eab5fc0696 Mon Sep 17 00:00:00 2001 From: rausi <54816301+rausi@users.noreply.github.com> Date: Thu, 27 Jun 2024 03:39:10 +0300 Subject: [PATCH 49/62] Add RAUSI (#330) * Create rausi.ts * Update index.ts * Update index.ts * Update index.ts --- src/index.ts | 3 +++ src/tokens/rausi.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/tokens/rausi.ts diff --git a/src/index.ts b/src/index.ts index 5f972ed3..7fc9b14a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -107,6 +107,7 @@ import prsprFetcher from "./tokens/prspr"; import pugchipFetcher from "./tokens/pugchip"; import punksFetcher from "./tokens/punks"; import rakerFetcher from "./tokens/raker"; +import rausiFetcher from "./tokens/rausi"; import revuFetcher from "./tokens/revu"; import rexFetcher from "./tokens/rex"; import rjvFetcher from "./tokens/rjv"; @@ -405,4 +406,6 @@ export const supplyFetchers: Record = { rsbtcFetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb14727352534e": rsrsnFetcher, + c80d335ae2206381ae3dfe07b1ef38e43af95736e7f5d4f150663c255241555349: + rausiFetcher, }; diff --git a/src/tokens/rausi.ts b/src/tokens/rausi.ts new file mode 100644 index 00000000..00868570 --- /dev/null +++ b/src/tokens/rausi.ts @@ -0,0 +1,26 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const RAUSI = "c80d335ae2206381ae3dfe07b1ef38e43af95736e7f5d4f150663c255241555349"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 8_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, RAUSI, [ + "addr1wypryvmw8z8yn9yqlyact9njtrkndu0g0gvq9q5llq4rppc549g39", // Reserve, locked until 01-2025 + "addr1w9szsx54qadp2yqe2xqrh6fmta6vuvqwtd5zsk7ec6j9sasmxhv3w", // Reserve, locked until 06-2028 + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, RAUSI, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burnsnek address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 5daeddfa7c1991c7d09162b4bfd21e2eb42f729a Mon Sep 17 00:00:00 2001 From: jdivo10 <17180522+jdivo10@users.noreply.github.com> Date: Wed, 26 Jun 2024 20:40:35 -0400 Subject: [PATCH 50/62] Add CTV (#332) * Add $CTV Initial add of ctv.ts and inclusion to index.ts * Clean Up clean up * import fix import fix * Update Index for ctvFetcher Update Index for ctvFetcher * Update index.ts * Update index.ts * Update index.ts * Cleanup * Update index.ts --------- Co-authored-by: ctvvaultkeeper --- src/index.ts | 2 ++ src/tokens/ctv.ts | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/tokens/ctv.ts diff --git a/src/index.ts b/src/index.ts index 7fc9b14a..ef04a2fa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,6 +34,7 @@ import cnctFetcher from "./tokens/cnct"; import cnetaFetcher from "./tokens/cneta"; import copiFetcher from "./tokens/copi"; import cswapFetcher from "./tokens/cswap"; +import ctvFetcher from "./tokens/ctv"; import daddyFetcher from "./tokens/daddy"; import danaFetcher from "./tokens/dana"; import derpFetcher from "./tokens/derp"; @@ -305,6 +306,7 @@ export const supplyFetchers: Record = { snepeFetcher, "51a5e236c4de3af2b8020442e2a26f454fda3b04cb621c1294a0ef34424f4f4b": bookFetcher, + "9f452e23804df3040b352b478039357b506ad3b50d2ce0d7cbd5f806435456": ctvFetcher, "5c1c91a65bedac56f245b8184b5820ced3d2f1540e521dc1060fa6834a454c4c59": jellyFetcher, "961f2cac0bb1967d74691af179350c1e1062c7298d1f7be1e4696e312444455250": diff --git a/src/tokens/ctv.ts b/src/tokens/ctv.ts new file mode 100644 index 00000000..5248a107 --- /dev/null +++ b/src/tokens/ctv.ts @@ -0,0 +1,22 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const CTV = "9f452e23804df3040b352b478039357b506ad3b50d2ce0d7cbd5f806435456"; + +const TREASURY_ADDRESSES = [ + "addr1qyjwhsj246x8nf9evkadxtt0crgg2qjp7mk76zdnm38r0qp397a6yhn3qpzwt3ekwvtmptfxd8427egmlrrmufxvkgtsna5evs", // $ctv4vaults - Vault Seeker NFT Staking Rewards + "addr1qy5u9xul7vfhn3gvk68zzqfxxl6uxy5n7j3kq39aet06f4qh8u90v36crqhfj4stq2vmj98lyqzryd5nfg4j5ca6cjmqq9xzgt", // $ctv_reserve - CTV Community Controlled Reserves +]; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 100_000_000; + const treasury = + Number(await getAmountInAddresses(blockFrost, CTV, TREASURY_ADDRESSES)); + return { + circulating: (total - treasury).toString(), + total: total.toString(), + }; +}; + +export default fetcher; \ No newline at end of file From 353dc45bba62ce5d9a3f0dd52cf32bfc4b0e4ce2 Mon Sep 17 00:00:00 2001 From: NFTKri <166889251+NFTKri@users.noreply.github.com> Date: Wed, 26 Jun 2024 20:48:03 -0400 Subject: [PATCH 51/62] Add GIRLFREN (#334) * Create girlfren.ts * Update index.ts * Update index.ts format * Update index.ts * Update index.ts * Update girlfren.ts --------- Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/girlfren.ts | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/tokens/girlfren.ts diff --git a/src/index.ts b/src/index.ts index ef04a2fa..478a5cd7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -53,6 +53,7 @@ import frenFetcher from "./tokens/fren"; import gensFetcher from "./tokens/gens"; import gensxFetcher from "./tokens/gensx"; import geroFetcher from "./tokens/gero"; +import girlfrenFetcher from "./tokens/girlfren"; import gldsnekFetcher from "./tokens/gldsnek"; import gmeFetcher from "./tokens/gme"; import gokeyFetcher from "./tokens/gokey"; @@ -408,6 +409,8 @@ export const supplyFetchers: Record = { rsbtcFetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb14727352534e": rsrsnFetcher, + "20efaf13727eea5813e57530f1f9bb60fa8a986056b48c4b89d59b414769726c4672656e": + girlfrenFetcher, c80d335ae2206381ae3dfe07b1ef38e43af95736e7f5d4f150663c255241555349: rausiFetcher, }; diff --git a/src/tokens/girlfren.ts b/src/tokens/girlfren.ts new file mode 100644 index 00000000..141ab903 --- /dev/null +++ b/src/tokens/girlfren.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const GIRLFREN = "20efaf13727eea5813e57530f1f9bb60fa8a986056b48c4b89d59b414769726c4672656e"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 69_420_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, GIRLFREN, [ + "stake1uyz9dgwqjdtqa36nn7mn4t6ptsu66dnd3c9uwv9luhkzlcgsa3v5h", // Treasury + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, GIRLFREN, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From e21f7844513407a456f7dd930c4691fdab5d1fcc Mon Sep 17 00:00:00 2001 From: TapTools <99997872+TheTapHouse@users.noreply.github.com> Date: Wed, 26 Jun 2024 20:57:28 -0400 Subject: [PATCH 52/62] CATS,DANZO,JORGE,NIKE,SNOK (#335) Co-authored-by: jacobwarren44 Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 13 +++++++++++++ src/tokens/cats.ts | 27 +++++++++++++++++++++++++++ src/tokens/danzo.ts | 25 +++++++++++++++++++++++++ src/tokens/jorge.ts | 27 +++++++++++++++++++++++++++ src/tokens/nike.ts | 21 +++++++++++++++++++++ src/tokens/snok.ts | 25 +++++++++++++++++++++++++ 6 files changed, 138 insertions(+) create mode 100644 src/tokens/cats.ts create mode 100644 src/tokens/danzo.ts create mode 100644 src/tokens/jorge.ts create mode 100644 src/tokens/nike.ts create mode 100644 src/tokens/snok.ts diff --git a/src/index.ts b/src/index.ts index 478a5cd7..14471d94 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,6 +20,7 @@ import btnFetcher from "./tokens/btn"; import bubbleFetcher from "./tokens/bubble"; import c3Fetcher from "./tokens/c3"; import c4Fetcher from "./tokens/c4"; +import catsFetcher from "./tokens/cats"; import catskyFetcher from "./tokens/catsky"; import cblpFetcher from "./tokens/cblp"; import cbtcFetcher from "./tokens/cbtc"; @@ -37,6 +38,7 @@ import cswapFetcher from "./tokens/cswap"; import ctvFetcher from "./tokens/ctv"; import daddyFetcher from "./tokens/daddy"; import danaFetcher from "./tokens/dana"; +import danzoFetcher from "./tokens/danzo"; import derpFetcher from "./tokens/derp"; import dgafFetcher from "./tokens/dgaf"; import dingFetcher from "./tokens/ding"; @@ -69,6 +71,7 @@ import iethFetcher from "./tokens/ieth"; import indyFetcher from "./tokens/indy"; import iusdFetcher from "./tokens/iusd"; import jellyFetcher from "./tokens/jelly"; +import jorgeFetcher from "./tokens/jorge"; import jpgFetcher from "./tokens/jpg"; import kitupFetcher from "./tokens/kitup"; import lccFetcher from "./tokens/lcc"; @@ -93,6 +96,7 @@ import myusdFetcher from "./tokens/myusd"; import nebulaFetcher from "./tokens/nebula"; import newmFetcher from "./tokens/newm"; import nftcFetcher from "./tokens/nftc"; +import nikeFetcher from "./tokens/nike"; import ninjazFetcher from "./tokens/ninjaz"; import nmkrFetcher from "./tokens/nmkr"; import noelFetcher from "./tokens/noel"; @@ -122,6 +126,7 @@ import shenFetcher from "./tokens/shen"; import smokeFetcher from "./tokens/smoke"; import snekFetcher from "./tokens/snek"; import snepeFetcher from "./tokens/snepe"; +import snokFetcher from "./tokens/snok"; import snowFetcher from "./tokens/snow"; import snukFetcher from "./tokens/snuk"; import societyFetcher from "./tokens/society"; @@ -409,6 +414,14 @@ export const supplyFetchers: Record = { rsbtcFetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb14727352534e": rsrsnFetcher, + c881c20e49dbaca3ff6cef365969354150983230c39520b917f5cf7c4e696b65: nikeFetcher, + "03dc510dbd1d1321edc06d8ae013f55fdd79f390c7415e2a09b64797534e4f4b": + snokFetcher, + bf3e19192da77dfadc7c9065944e50ca7e1a439d90833e3ae58b720a44414e5a4f: + danzoFetcher, + c0a7eb16fa55a982c63976c34af6e42cb1b5aeb9ab2a7aaec06f6cd04a6f726765: + jorgeFetcher, + bbb0be3f57598bbf6a7d6ce18a60700beceb6904923a6a555ca0345443415453: catsFetcher, "20efaf13727eea5813e57530f1f9bb60fa8a986056b48c4b89d59b414769726c4672656e": girlfrenFetcher, c80d335ae2206381ae3dfe07b1ef38e43af95736e7f5d4f150663c255241555349: diff --git a/src/tokens/cats.ts b/src/tokens/cats.ts new file mode 100644 index 00000000..4c9496be --- /dev/null +++ b/src/tokens/cats.ts @@ -0,0 +1,27 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const CATS = "bbb0be3f57598bbf6a7d6ce18a60700beceb6904923a6a555ca0345443415453"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 88_888_888_888_888_900; + const treasuryRaw = await getAmountInAddresses(blockFrost, CATS, [ + "stake1u923hpvm0kurh8mrav0rcrwfd0qfyguxq3wt9qjlynpqcjgrn8yu8", + "stake1u8fpm0l9wq6ukw7932vwkhlpthhwlk7hx4vx6xe35dzplaq6ckdj5", + "stake1u9a7k0k2t0amdsyyvuyvr6wfdk96egxculjs7ydmehc5ueqljenvv", + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, CATS, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/danzo.ts b/src/tokens/danzo.ts new file mode 100644 index 00000000..1a4ee07d --- /dev/null +++ b/src/tokens/danzo.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const DANZO = "bf3e19192da77dfadc7c9065944e50ca7e1a439d90833e3ae58b720a44414e5a4f"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 69e9; + const treasuryRaw = await getAmountInAddresses(blockFrost, DANZO, [ + "stake17xnecta77s7r3qp9aryd79tln2wc2qs24sx9gvf4npcyptgqq4p4s", + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, DANZO, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/jorge.ts b/src/tokens/jorge.ts new file mode 100644 index 00000000..20249c92 --- /dev/null +++ b/src/tokens/jorge.ts @@ -0,0 +1,27 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const JORGE = "c0a7eb16fa55a982c63976c34af6e42cb1b5aeb9ab2a7aaec06f6cd04a6f726765"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1e9; + const treasuryRaw = await getAmountInAddresses(blockFrost, JORGE, [ + "stake1ux438zy2p4e5g8wqg0y8t3ydds02rmaf3eemj38nzn9ydgctfvyne", + "stake1uyft8nlwshrfttzyn8g394d3rx8cck3wusy9l086q35rq9g9e78qd", + "stake1u9psvwyfwskrvz22tlepfsenqzegd5jlyf8mf7hzwhar9mcqncm5y", + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, JORGE, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const treasury = Number(treasuryRaw)/1e4; + const burn = Number(burnRaw)/1e4; + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/nike.ts b/src/tokens/nike.ts new file mode 100644 index 00000000..e5fe3567 --- /dev/null +++ b/src/tokens/nike.ts @@ -0,0 +1,21 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const NIKE = "c881c20e49dbaca3ff6cef365969354150983230c39520b917f5cf7c4e696b65"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1e9; + + const burnRaw = await getAmountInAddresses(blockFrost, NIKE, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const burn = Number(burnRaw); + return { + circulating: (total - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; \ No newline at end of file diff --git a/src/tokens/snok.ts b/src/tokens/snok.ts new file mode 100644 index 00000000..788c988d --- /dev/null +++ b/src/tokens/snok.ts @@ -0,0 +1,25 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SNOK = "03dc510dbd1d1321edc06d8ae013f55fdd79f390c7415e2a09b64797534e4f4b"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1e9; + const treasuryRaw = await getAmountInAddresses(blockFrost, SNOK, [ + "stake17x7ep02m028rqsnrqmse4zyn8nr3v80nkeshq73n2xddxnsmw0uuw", + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, SNOK, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", //$burnsnek + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 3a61fa51f0da0f060963f3355dbcddb8f7045823 Mon Sep 17 00:00:00 2001 From: Ben Elferink Date: Thu, 27 Jun 2024 04:13:15 +0300 Subject: [PATCH 53/62] add DDoS (#336) * add token * Add $TRTL burn addresses * add $mr.hankey * add DDoS --------- Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com> --- src/index.ts | 3 +++ src/tokens/ddos.ts | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/tokens/ddos.ts diff --git a/src/index.ts b/src/index.ts index 14471d94..eb0b5f4a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -39,6 +39,7 @@ import ctvFetcher from "./tokens/ctv"; import daddyFetcher from "./tokens/daddy"; import danaFetcher from "./tokens/dana"; import danzoFetcher from "./tokens/danzo"; +import ddosFetcher from "./tokens/ddos"; import derpFetcher from "./tokens/derp"; import dgafFetcher from "./tokens/dgaf"; import dingFetcher from "./tokens/ding"; @@ -361,6 +362,8 @@ export const supplyFetchers: Record = { sharkyFetcher, "7507734918533b3b896241b4704f3d4ce805256b01da6fcede43043642616279534e454b": babysnekFetcher, + "94bb5aa2fedb3a4097c91934c79634407f4634aa192587699ef927b744446f53": + ddosFetcher, "6e6098846537ca48ff18eac70b7f5040c69ba2c5570521b6eb00fdf56461646479": daddyFetcher, ea153b5d4864af15a1079a94a0e2486d6376fa28aafad272d15b243a0014df10536861726473: diff --git a/src/tokens/ddos.ts b/src/tokens/ddos.ts new file mode 100644 index 00000000..587376aa --- /dev/null +++ b/src/tokens/ddos.ts @@ -0,0 +1,29 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const DDOS = "94bb5aa2fedb3a4097c91934c79634407f4634aa192587699ef927b744446f53"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + + const total = 10_000_000; + + const burnRaw = await getAmountInAddresses(blockFrost, DDOS, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // SNEK burn address + ]); + + const burn = Number(burnRaw); + + const teamRaw = await getAmountInAddresses(blockFrost, DDOS, [ + "addr1qxt6fmumauv24fszmfngncs695yj0e9etqsr7lm5ym4zude4alypnn0x8ckrucs8tga0lfl5v48ec656shce0fgpa3fq3dq4hq", // $ddosfund + ]); + + const team = Number(teamRaw); + + return { + circulating: (total - burn - team).toString(), + total: total.toString(), + }; +}; + +export default fetcher; From dbef3b4a2af48cbe117dda7244006dabd398851e Mon Sep 17 00:00:00 2001 From: similiken <122702393+similiken@users.noreply.github.com> Date: Mon, 1 Jul 2024 03:46:40 -0400 Subject: [PATCH 54/62] Update flesh, mtc, ashib, add fleshFetcher (#341) * Update flesh, mtc, ashib. Update flesh, mtc, ashib. * Adding fleshFetcher Adding fleshFetcher --- src/index.ts | 3 +++ src/tokens/ashib.ts | 17 +++++++++++++++++ src/tokens/flesh.ts | 33 +++++++++++++++++++++++++++++++++ src/tokens/mtc.ts | 29 ++++++++++++++++++++++++++--- 4 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 src/tokens/flesh.ts diff --git a/src/index.ts b/src/index.ts index eb0b5f4a..d2bfb19d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -52,6 +52,7 @@ import fetFetcher from "./tokens/fet"; import fireFetcher from "./tokens/fire"; import flacFetcher from "./tokens/flac"; import fldtFetcher from "./tokens/fldt"; +import fleshFetcher from "./tokens/flesh"; import frenFetcher from "./tokens/fren"; import gensFetcher from "./tokens/gens"; import gensxFetcher from "./tokens/gensx"; @@ -429,4 +430,6 @@ export const supplyFetchers: Record = { girlfrenFetcher, c80d335ae2206381ae3dfe07b1ef38e43af95736e7f5d4f150663c255241555349: rausiFetcher, + a1ce0414d79b040f986f3bcd187a7563fd26662390dece6b12262b52464c45534820544f4b454e: + fleshFetcher, }; diff --git a/src/tokens/ashib.ts b/src/tokens/ashib.ts index 4d0806fb..3386df18 100644 --- a/src/tokens/ashib.ts +++ b/src/tokens/ashib.ts @@ -7,13 +7,30 @@ const ASHIB = const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const blockFrost = getBlockFrostInstance(options); const total = 1_000_000_000_000; + const treasury_team_and_distributorsRaw = await getAmountInAddresses( + blockFrost, + ASHIB, + [ + "addr1q9pyzv7p23c7sqsrd9y50pl9csefm5y9gs74t9zs7zqhxmlvevz8mzgjhfmjv87qdj45l7mfrfnv2v5dgr70uky86txqvfusqz", // community wallet + "addr1qxrlzwkmv826sps9sfjdg3cr8malcr2wmfvhvt0sqpd84xaq4rezcdmnr9f52x0zsgpz3zl8klrwjhmynksx5lhs5scsdqcx9d", // team 1 + "addr1qy40nxgx8wk03xn0k0xega3l6fwrekwsyuuj7cyyhsz8fl2zhw8y7c92vew3fqwy7u4yrq66d2yt8wmd0tm3uyhsxapsy4t5ms", // team 2 + "addr1qxpeczj2lluh88sa2g3tm0e3fj39c34rlctmvcszjs67g6wjj9djsz0020h68nz3rxknzdh93nryqzhq6h9z0nnzf0rshrectt", // tosidrop distribution + "addr1w9rerwzk0f5v4den9u2c7anv2d4dl88hq9cq0xgcmernsfsak7w6r", // dripdropz distribution + "addr1qyjhg2ge6w6tzwc9gwmddp5ha07zsawpd3pse7v9a0893jufgx9ne2hurkmz7adclf0tpehwdqwuhfejtph98vpfhulscdnlzz", // adalot exchange vending + "addr1q8xhjg9tn29a6vpv9e52xf8zn7hl7nqkv99kk4uac08myjud244wsz2v65xv0jc4tgjyfxrhgnmcav0upfcvcdv2d8qq7fqgh3", // adalot jackpot vending + "addr1qxkmr0m22xeqludcg5rjdmecjxasu9fat0680qehtcsnftaadgykewa9ufvegeuca9yyq03d9v7ea2y2zthgu7hfgjtsddp6gr", // minswap farm distribution + "addr1qx3wvec7uhweerzqaeezzepmrwft8sfpucgk50tsuluz8f8cfhlykwhxy66aazkjmfp4euf0yhpeezx3exncm7e69pvs7jetw6", // starcada distribution + ] + ); const burnRaw = await getAmountInAddresses(blockFrost, ASHIB, [ "addr1w8qvvu0m5jpkgxn3hwfd829hc5kfp0cuq83tsvgk44752dsea0svn", // burn wallet ]); + const uncirculated = Number(treasury_team_and_distributorsRaw) / 1e6; const burn = Number(burnRaw) / 1e6; return { + circulating: (total - uncirculated - burn).toString(), total: (total - burn).toString(), }; }; diff --git a/src/tokens/flesh.ts b/src/tokens/flesh.ts new file mode 100644 index 00000000..88f25b94 --- /dev/null +++ b/src/tokens/flesh.ts @@ -0,0 +1,33 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const FLESH = + "a1ce0414d79b040f986f3bcd187a7563fd26662390dece6b12262b52464c45534820544f4b454e"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 420_000_000_000_000_000; + const treasury_team_and_distributorsRaw = await getAmountInAddresses( + blockFrost, + FLESH, + [ + "addr1qx7454h55m7mddcqfjm36fm7nmy8n09360w3mqgn8ucsqc6676h2cefplfw3ja5fy3903a4xpaletxqk0pmt2ykwym7sp0un3u", // community wallet + "addr1qxpeczj2lluh88sa2g3tm0e3fj39c34rlctmvcszjs67g6wjj9djsz0020h68nz3rxknzdh93nryqzhq6h9z0nnzf0rshrectt", // tosidrop distribution + "addr1w858jt2qn8c7zaw4fdpccpeejwjsd38guu9kx3qmchg2k0cymsdmg", // dripdropz distribution + "addr1qxkmr0m22xeqludcg5rjdmecjxasu9fat0680qehtcsnftaadgykewa9ufvegeuca9yyq03d9v7ea2y2zthgu7hfgjtsddp6gr", // minswap farm distribution + ] + ); + + const burnRaw = await getAmountInAddresses(blockFrost, FLESH, [ + "addr1w8t6qhfx7cty7pg805adz62gjfkld0c70usezv4e4uxfk0sf0e2mj", // burn wallet + ]); + + const uncirculated = Number(treasury_team_and_distributorsRaw) / 1e1; + const burn = Number(burnRaw) / 1e1; + return { + circulating: (total - uncirculated - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/mtc.ts b/src/tokens/mtc.ts index 42873aa1..3867a468 100644 --- a/src/tokens/mtc.ts +++ b/src/tokens/mtc.ts @@ -1,9 +1,32 @@ -import { SupplyFetcher } from "../types"; +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; -const fetcher: SupplyFetcher = async () => { +const MTC = "f6ac48c64aa7af16434d9f84e014d11fba38525b436acc338ff20b0d4d7463"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); const total = 1_000_000; + const treasury_team_and_distributorsRaw = await getAmountInAddresses( + blockFrost, + MTC, + [ + "addr1q8yll2vw2h2dhv7fccdxwfm95puje3zelredzmw97w34hdwm9dndrhqfvas9nvg7rgn8wrwnzxsj7wp2msuthuvfuwsq9e905k", // team 1 + "addr1q9hsauvnf9dt88skshp76t45hp27c9p6y9rv6au74s43uqjx7gax6jgkwyn7vhvqet6n05quma2y5wdghj5arlzmmjpq2xyg4t", // team 2 + "addr1qx42lkkh8qhnetve4cmx74mzqx4qkssxz9ltmsn8nmgcxxs6gw4tkslgkhp8m2pgkedxlhtx7e8k5dj5xn7yt88p54kq69nh0h", // team 3 + "addr1wxqg5vgp3fsh6ddmr0vhc5xuhrckhyav9emdtwpfmafaf5q63x6rc", // dripdropz distribution + "addr1qx3wvec7uhweerzqaeezzepmrwft8sfpucgk50tsuluz8f8cfhlykwhxy66aazkjmfp4euf0yhpeezx3exncm7e69pvs7jetw6", // starcada distribution + ] + ); + + const burnRaw = await getAmountInAddresses(blockFrost, MTC, [ + "addr1w8qvvu0m5jpkgxn3hwfd829hc5kfp0cuq83tsvgk44752dsea0svn", // burn wallet + ]); + + const uncirculated = Number(treasury_team_and_distributorsRaw); + const burn = Number(burnRaw); return { - total: total.toString(), + circulating: (total - uncirculated - burn).toString(), + total: (total - burn).toString(), }; }; From af4d24b0adc84e55b1a8a6fa0b84483c5de76590 Mon Sep 17 00:00:00 2001 From: Rietcircles <98524310+reitcircles@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:35:53 +0200 Subject: [PATCH 55/62] REIT token circulating supply (#337) * script for circulating supply * added the reit fetcher in index script * removed option as it was giving build errors --------- Co-authored-by: Nilay Saha --- src/index.ts | 3 +++ src/tokens/reit.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/tokens/reit.ts diff --git a/src/index.ts b/src/index.ts index d2bfb19d..0e9ac7fb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -116,6 +116,7 @@ import pugchipFetcher from "./tokens/pugchip"; import punksFetcher from "./tokens/punks"; import rakerFetcher from "./tokens/raker"; import rausiFetcher from "./tokens/rausi"; +import reitFetcher from "./tokens/reit"; import revuFetcher from "./tokens/revu"; import rexFetcher from "./tokens/rex"; import rjvFetcher from "./tokens/rjv"; @@ -322,6 +323,8 @@ export const supplyFetchers: Record = { "2d587111358801114f04df83dc0015de0a740b462b75cce5170fc935434749": cgiFetcher, fc11a9ef431f81b837736be5f53e4da29b9469c983d07f321262ce614652454e: frenFetcher, "61fe4feee9d051c75b20d11701c3154ae95d9857bd429ffb85087eae526578": rexFetcher, + "52d4b39c2407ce020ab4abb785d820a3ad5a2fa07600d07a205e509f52454954": + reitFetcher, "20cd68533b47565f3c61efb39c30fdace9963bfa4c0060b613448e3c50524f584945": proxiesFetcher, f6ac48c64aa7af16434d9f84e014d11fba38525b436acc338ff20b0d4d7463: mtcFetcher, diff --git a/src/tokens/reit.ts b/src/tokens/reit.ts new file mode 100644 index 00000000..3909a6c2 --- /dev/null +++ b/src/tokens/reit.ts @@ -0,0 +1,26 @@ +import axios from "axios"; + +import { SupplyFetcher } from "../types"; + +const REIT = "52d4b39c2407ce020ab4abb785d820a3ad5a2fa07600d07a205e509f"; +const REIT_ASSET = `${REIT}52454954`; + +const fetcher: SupplyFetcher = async () => { + const total = 50_000_000; + + const instance = axios.create({ + baseURL: `https://cardano-mainnet.blockfrost.io/api/v0/`, + timeout: 1000, + headers: { project_id: process.env["BLOCKFROST_PROJECT_ID"] }, + }); + + const assetInfo = await instance.get(`assets/${REIT_ASSET}`); + const total_mint = assetInfo.data.quantity; + + return { + circulating: total_mint, + total: total.toString(), + }; +}; + +export default fetcher; From 031477b65a94faf301027bb7a072826487afdb88 Mon Sep 17 00:00:00 2001 From: PatrickTobler <129864078+PatrickTobler@users.noreply.github.com> Date: Thu, 4 Jul 2024 11:28:15 +0200 Subject: [PATCH 56/62] Create sharl.ts (#331) * Create sharl.ts * Update sharl.ts * Add Sharl to index.ts --- src/index.ts | 3 +++ src/tokens/sharl.ts | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/tokens/sharl.ts diff --git a/src/index.ts b/src/index.ts index 0e9ac7fb..dd530bca 100644 --- a/src/index.ts +++ b/src/index.ts @@ -125,6 +125,7 @@ import rsergFetcher from "./tokens/rserg"; import rsrsnFetcher from "./tokens/rsrsn"; import shardsFetcher from "./tokens/shards"; import sharkyFetcher from "./tokens/sharky"; +import sharlFetcher from "./tokens/sharl"; import shenFetcher from "./tokens/shen"; import smokeFetcher from "./tokens/smoke"; import snekFetcher from "./tokens/snek"; @@ -419,6 +420,8 @@ export const supplyFetchers: Record = { gummyFetcher, "2dbc49f682ad21f6d18705cf446f9f7a277731ab70ae21a454f888b27273425443": rsbtcFetcher, + "590f6d119b214cdcf7ef7751f8b7f1de615ff8f6de097a5ce62b257b534841524c": + sharlFetcher, "04b95368393c821f180deee8229fbd941baaf9bd748ebcdbf7adbb14727352534e": rsrsnFetcher, c881c20e49dbaca3ff6cef365969354150983230c39520b917f5cf7c4e696b65: nikeFetcher, diff --git a/src/tokens/sharl.ts b/src/tokens/sharl.ts new file mode 100644 index 00000000..8e6b0ef0 --- /dev/null +++ b/src/tokens/sharl.ts @@ -0,0 +1,11 @@ +import { SupplyFetcher } from "../types"; + +const fetcher: SupplyFetcher = async () => { + const total = 999_000_000_000; + return { + circulating: total.toString(), + total: total.toString(), + }; +}; + +export default fetcher; From 917e2c7a0fbeb6c6489d6517ba719ecd8a44d2c8 Mon Sep 17 00:00:00 2001 From: Ryan Felt Date: Tue, 9 Jul 2024 20:26:43 -0400 Subject: [PATCH 57/62] update: Vyfi token uncirrculating supply address (#342) Co-authored-by: Ryan Felt --- src/tokens/vyfi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tokens/vyfi.ts b/src/tokens/vyfi.ts index d6cb2bae..a9b297c2 100644 --- a/src/tokens/vyfi.ts +++ b/src/tokens/vyfi.ts @@ -7,7 +7,7 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const blockFrost = getBlockFrostInstance(options); const total = 450_000_000; const treasuryRaw = await getAmountInAddresses(blockFrost, VYFI, [ - "stake1ux3rhes4an7469fqfw794cg8qaxltj3srhlprhast5v6wsqkm26ks", + "stake1u9rs4usucfu2ymfeeem2dnvfsdxl9sm7vpvd8pkc4cym8rsge78sh", ]); const treasury = Number(treasuryRaw) / 1e6; return { From b1e55edc66fff667176edd916d6792c1c0ba2a1e Mon Sep 17 00:00:00 2001 From: Long Nguyen Date: Wed, 10 Jul 2024 07:28:13 +0700 Subject: [PATCH 58/62] update $min.dao-hot wallet as MIN treasury (#343) Signed-off-by: Nguyen Le Vu Long --- src/tokens/min.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tokens/min.ts b/src/tokens/min.ts index adb10f29..88bc2731 100644 --- a/src/tokens/min.ts +++ b/src/tokens/min.ts @@ -10,6 +10,7 @@ const TREASURY_ADDRESSES = [ "addr1z9wdv59sq7zzy2l6gchq3247lz7ssfsxs45nj4njhwsp5uzj2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pqzygnta", // DAO "addr1z9mjhq5c4s0smv2c92g9yvecpju3p8cfaneu8jzwq97ry62j2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pqw9pw55", // incentives & partnerships "addr1zx0wxal6dz7rjzxk2mwfvj9564rp9uajqrscftx44tp6ha6j2c79gy9l76sdg0xwhd7r0c0kna0tycz4y5s6mlenh8pq83j9cv", // yield farming treasury + "addr1q8zntywq3fldecrqk4vl593sznvj7483ejcajnavvh2qpsvftaax5f3wasl5m49rtjw5pen938vr7863w0lfz94h0lfqldx3pu", // $min.dao-hot aka DAO hot wallet ]; const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { From 39a2b20ee29a006ed5f48ae9cf741e17aac9c8ba Mon Sep 17 00:00:00 2001 From: rausi <54816301+rausi@users.noreply.github.com> Date: Wed, 10 Jul 2024 03:28:37 +0300 Subject: [PATCH 59/62] Update rausi.ts (#344) --- src/tokens/rausi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tokens/rausi.ts b/src/tokens/rausi.ts index 00868570..92a949de 100644 --- a/src/tokens/rausi.ts +++ b/src/tokens/rausi.ts @@ -7,7 +7,7 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { const blockFrost = getBlockFrostInstance(options); const total = 8_000_000_000; const treasuryRaw = await getAmountInAddresses(blockFrost, RAUSI, [ - "addr1wypryvmw8z8yn9yqlyact9njtrkndu0g0gvq9q5llq4rppc549g39", // Reserve, locked until 01-2025 + "addr1wy3vkt9xxc98rllr3urvx8cy2ws02fr4rf88n7cdeyzw8wqaqtffw", // Reserve, locked until 01-2025, updated 6.7.2024. "addr1w9szsx54qadp2yqe2xqrh6fmta6vuvqwtd5zsk7ec6j9sasmxhv3w", // Reserve, locked until 06-2028 ]); From 5b3eb6800e4f78aea492c2e1c073229550e6b70f Mon Sep 17 00:00:00 2001 From: NFTKri <166889251+NFTKri@users.noreply.github.com> Date: Tue, 9 Jul 2024 20:29:06 -0400 Subject: [PATCH 60/62] Add Scale, Slop (#345) * Create scale.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts * Create slop.ts * Update index.ts * Update index.ts * Update index.ts * Update index.ts fixing format * Update index.ts correcting format * Update index.ts --- src/index.ts | 6 ++++++ src/tokens/scale.ts | 29 +++++++++++++++++++++++++++++ src/tokens/slop.ts | 26 ++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 src/tokens/scale.ts create mode 100644 src/tokens/slop.ts diff --git a/src/index.ts b/src/index.ts index dd530bca..b2c37ded 100644 --- a/src/index.ts +++ b/src/index.ts @@ -123,10 +123,12 @@ import rjvFetcher from "./tokens/rjv"; import rsbtcFetcher from "./tokens/rsbtc"; import rsergFetcher from "./tokens/rserg"; import rsrsnFetcher from "./tokens/rsrsn"; +import scaleFetcher from "./tokens/scale"; import shardsFetcher from "./tokens/shards"; import sharkyFetcher from "./tokens/sharky"; import sharlFetcher from "./tokens/sharl"; import shenFetcher from "./tokens/shen"; +import slopFetcher from "./tokens/slop"; import smokeFetcher from "./tokens/smoke"; import snekFetcher from "./tokens/snek"; import snepeFetcher from "./tokens/snepe"; @@ -438,4 +440,8 @@ export const supplyFetchers: Record = { rausiFetcher, a1ce0414d79b040f986f3bcd187a7563fd26662390dece6b12262b52464c45534820544f4b454e: fleshFetcher, + "1f01188ffed79a9296d824c49eec851c21ea860e7c4f88324de50f2c7363616c65": + scaleFetcher, + ea02c99c0668891d6b7cdc49e075cbddf9cd5b89404e5a8a8e5d7016534c4f5020436f696e: + slopFetcher, }; diff --git a/src/tokens/scale.ts b/src/tokens/scale.ts new file mode 100644 index 00000000..71c1b795 --- /dev/null +++ b/src/tokens/scale.ts @@ -0,0 +1,29 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SCALE = "1f01188ffed79a9296d824c49eec851c21ea860e7c4f88324de50f2c7363616c65"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 40_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, SCALE, [ + "stake1u8mceu7uqd943my6k3mmja9j7rm5kjg7ezgnzwcfqvranfsl0p2ku", // $scale.ipdholder + "stake1uy9tsassdgfqpkdxmtusnd7r39z3j5sp2judhl7g449jltgr4kkx5", // $partner.market + "stake1u86fxn5kx4s0qsh0zj4xkzs4xsrkl9pku3xjughdyhva86qhs4eem", // $scale.ispo.drip + "stake1u8sm7tl8u0n6yc8vlzpds06cpqclen490tptxn223zaq20scvlgtj", // $scale.vaultfeed + "stake1uykxdu30uduseadh5zwj43f88um8dr9y6renkf6e9mjerys84df64", // $scale.vesting + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, SCALE, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; diff --git a/src/tokens/slop.ts b/src/tokens/slop.ts new file mode 100644 index 00000000..f6c5bd74 --- /dev/null +++ b/src/tokens/slop.ts @@ -0,0 +1,26 @@ +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SLOP = "ea02c99c0668891d6b7cdc49e075cbddf9cd5b89404e5a8a8e5d7016534c4f5020436f696e"; + +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); + const total = 1_000_000_000; + const treasuryRaw = await getAmountInAddresses(blockFrost, SLOP, [ + "stake1u8ugkt7a7p8wl4635lsjamepma9dvtyhye378g6z8vuvrqqujky50", // $slop + "stake1u9l00ughh8q2v7a6gd20fl3z2nq2ft0g4c2rr4pvucjwmvs2a9vfs", // $hogsweeper + ]); + + const burnRaw = await getAmountInAddresses(blockFrost, SLOP, [ + "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address + ]); + + const treasury = Number(treasuryRaw); + const burn = Number(burnRaw); + return { + circulating: (total - treasury - burn).toString(), + total: (total - burn).toString(), + }; +}; + +export default fetcher; From 8d990d39dd5d8af2d7702095b000a65b5ed6b280 Mon Sep 17 00:00:00 2001 From: cardanative <89965855+cardanative@users.noreply.github.com> Date: Wed, 10 Jul 2024 02:30:25 +0200 Subject: [PATCH 61/62] Update sharl.ts (#346) --- src/tokens/sharl.ts | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/tokens/sharl.ts b/src/tokens/sharl.ts index 8e6b0ef0..1d4345b3 100644 --- a/src/tokens/sharl.ts +++ b/src/tokens/sharl.ts @@ -1,9 +1,24 @@ -import { SupplyFetcher } from "../types"; +import { defaultFetcherOptions, SupplyFetcher } from "../types"; +import { getAmountInAddresses, getBlockFrostInstance } from "../utils"; + +const SHARL = + "590f6d119b214cdcf7ef7751f8b7f1de615ff8f6de097a5ce62b257b534841524c"; +const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { + const blockFrost = getBlockFrostInstance(options); -const fetcher: SupplyFetcher = async () => { const total = 999_000_000_000; + const treasury_team_and_distributorsRaw = await getAmountInAddresses( + blockFrost, + SHARL, + [ + "addr1x8mpnsx06npcg40wnrk0umup7qcvyfz0nq7s5fv7pxdhk20kr8qvl4xrs327ax8vlehcrupscgjylxpapgjeuzvm0v5s0xgeht", // community wallet + ] + ); + + const uncirculated = Number(treasury_team_and_distributorsRaw); + return { - circulating: total.toString(), + circulating: (total - uncirculated).toString(), total: total.toString(), }; }; From 46b14e7032111fa756a2e241f6e388a60d24df44 Mon Sep 17 00:00:00 2001 From: NFTKri <166889251+NFTKri@users.noreply.github.com> Date: Thu, 18 Jul 2024 21:50:32 -0400 Subject: [PATCH 62/62] Update scale.ts (#347) Update scale.ts I neglected to include the decimal places, resulting in an inaccurate total count for circulation. --- src/tokens/scale.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tokens/scale.ts b/src/tokens/scale.ts index 71c1b795..72c124fe 100644 --- a/src/tokens/scale.ts +++ b/src/tokens/scale.ts @@ -18,8 +18,8 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => { "addr1w8qmxkacjdffxah0l3qg8hq2pmvs58q8lcy42zy9kda2ylc6dy5r4", // burn address ]); - const treasury = Number(treasuryRaw); - const burn = Number(burnRaw); + const treasury = Number(treasuryRaw) / 1e6; + const burn = Number(burnRaw) / 1e6; return { circulating: (total - treasury - burn).toString(), total: (total - burn).toString(),