Skip to content

Commit

Permalink
Fixed decimals on mom.ts (#373)
Browse files Browse the repository at this point in the history
* Added mom.ts and include it on index.ts

* Fixed decimals error mom.ts

* Fixed decimals error mom.ts

---------

Co-authored-by: Patrik <51710571+shadowkora@users.noreply.github.com>
  • Loading branch information
noroxi7 and shadowkora authored Sep 11, 2024
1 parent 44343d5 commit 2b4b60c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tokens/mom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const fetcher: SupplyFetcher = async (options = defaultFetcherOptions) => {
const treasury = Number(treasuryRaw);
const burn = Number(burnRaw);
return {
circulating: (total - treasury - burn).toString(),
total: (total - burn).toString(),
circulating: (total - treasury / 1e5 - burn / 1e5).toString(),
total: (total - burn / 1e5).toString(),
};
};

Expand Down

0 comments on commit 2b4b60c

Please sign in to comment.