From 4266fe3a60529783b93f5cb91c3b89bbe773108c Mon Sep 17 00:00:00 2001 From: Maxence Raballand Date: Fri, 3 May 2024 18:45:37 +0200 Subject: [PATCH] fix: price display --- .changeset/chilled-students-explode.md | 5 +++++ src/addresses/tokens/utils.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/chilled-students-explode.md diff --git a/.changeset/chilled-students-explode.md b/.changeset/chilled-students-explode.md new file mode 100644 index 0000000..b7c5898 --- /dev/null +++ b/.changeset/chilled-students-explode.md @@ -0,0 +1,5 @@ +--- +"@mangrovedao/mgv": patch +--- + +change price display diff --git a/src/addresses/tokens/utils.ts b/src/addresses/tokens/utils.ts index 8626515..4c15c17 100644 --- a/src/addresses/tokens/utils.ts +++ b/src/addresses/tokens/utils.ts @@ -1,7 +1,7 @@ import type { Address } from 'viem' export const DEFAULT_DISPLAY_DECIMALS = 3 as const -export const DEFAULT_PRICE_DISPLAY_DECIMALS = 6 as const +export const DEFAULT_PRICE_DISPLAY_DECIMALS = 4 as const export const DEFAULT_DECIMALS = 18 as const export type Token<