From 2b4b60cc795d2ff8fefc9bdc834a23f9f543417d Mon Sep 17 00:00:00 2001 From: noroxi Date: Wed, 11 Sep 2024 17:11:09 -0300 Subject: [PATCH] Fixed decimals on mom.ts (#373) * 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> --- src/tokens/mom.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tokens/mom.ts b/src/tokens/mom.ts index ea180506..d4f227f6 100644 --- a/src/tokens/mom.ts +++ b/src/tokens/mom.ts @@ -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(), }; };