From 8d560d255b3fb42e895324d821121dc44e96024b Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 19 Jun 2024 16:44:10 -0700 Subject: [PATCH] v1 token decimals --- src/consts.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/consts.rs b/src/consts.rs index dbd6c0b..dfca525 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -15,6 +15,9 @@ pub const MIN_DIFFICULTY: u32 = 8; // 12; /// There are 100 billion indivisible units per Ore (called "grains"). pub const TOKEN_DECIMALS: u8 = 11; +/// The decimal precision of the Ore v1 token. +pub const TOKEN_DECIMALS_V1: u8 = 9; + /// One Ore token, denominated in indivisible units. pub const ONE_ORE: u64 = 10u64.pow(TOKEN_DECIMALS as u32);