Skip to content

Commit

Permalink
Fix LQ, PAVIA, VYFI, CHRY (#84)
Browse files Browse the repository at this point in the history
* use stake address instead of addr1

* Fix LQ, PAVIA, VYFI

---------

Co-authored-by: jacobwarren44 <jacob@taptools.io>
  • Loading branch information
TheTapHouse and jacobwarren44 authored Jul 9, 2023
1 parent 82e270a commit 728246a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/tokens/lq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => {
const blockFrost = getBlockFrostInstance(options);
const total = 21_000_000;
const treasuryRaw = await getAmountInAddresses(blockFrost, LQ, [
"stake17xuctqah3vtn232230mgnh8j0g0c9xe9j59a5jv54v2m6lghq7wjg", // user dist
"stake17y92lfz032ahf6xly5fp3l8k28xzpzullx46ffg8vmt7xpquzjyrp", // team
"stake179h0rfqsl5qhl7mh9wrazeel0wkzxck8zaq6et4k3jtz96c374qun", // treasury
"stake1782eemwxrrfmzga0yq5eewhu5cqe6p0n0wa8xwzhwkwhl4q327q0r", // staking
"stake17yl23x3q5v4hpjyywjal326ku2953kn4dhkrq5edmqcyj4cz0h7v5", // user dist
"stake17x5s640797a4wlu0x3wtxrytrq8hx67smk238vpvjgjkjgqhmc4sl", // team
"stake17yr6hxevthv7fr6la584r3sy4jlgf7uwtc2udkwzj8zt3vg2mzq4x", // treasury
"stake17xljj9au6hels8vtn5rf3ctgux9azsfnnwqgx4y7x0y5ytsu0nj2z", // staking
]);
const treasury = Number(treasuryRaw) / 1e6;
return {
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/pavia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => {
const total = 2e9;
const blockFrost = getBlockFrostInstance(options);
const treasury = await getAmountInAddresses(blockFrost, PAVIA, [
"addr1qx49wuqaa0j83z4y04nyltpcmf602f0afn5s84l7a9wnjryg090a5a6en7e483rh98d67efcenetg9xpr6fvv2llmhts837axc",
"stake1uxy8jh76wavelv6nc3mjnka0v5uveu45znq3aykx90lam4cdxdumd",
]);
return {
circulating: (total - Number(treasury)).toString(),
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/vyfi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, [
"addr1qx6jq2ns6g9t4y8zyf2ahmhjzw8k6h3a7fy5tkqwgnwgh09z80nptm8at52jqjauttsswp6d7h9rq807z80mqhge5aqqctjalg",
"stake1ux3rhes4an7469fqfw794cg8qaxltj3srhlprhast5v6wsqkm26ks",
]);
const treasury = Number(treasuryRaw) / 1e6;
return {
Expand Down

0 comments on commit 728246a

Please sign in to comment.