From c072d9767c3ce31a16f1bafba30ed06ac1ff7280 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Sat, 27 Mar 2021 02:16:29 +0530 Subject: [PATCH] Moved decimals to TokenDelegatorStorage --- contracts/TokenDelegate.sol | 3 --- contracts/TokenInterfaces.sol | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contracts/TokenDelegate.sol b/contracts/TokenDelegate.sol index 873ebe4..7017c08 100644 --- a/contracts/TokenDelegate.sol +++ b/contracts/TokenDelegate.sol @@ -6,9 +6,6 @@ import { SafeMath } from "./SafeMath.sol"; // TODO @thrilok209 @KaymasJain - Rename it contract TokenDelegate is TokenDelegateStorageV1, TokenEvents { - /// @notice EIP-20 token decimals for this token - uint8 public constant decimals = 18; - /// @notice Minimum time between mints uint32 public constant minimumTimeBetweenMints = 1 days * 7; // TODO @thrilok209 @KaymasJain - Replace it diff --git a/contracts/TokenInterfaces.sol b/contracts/TokenInterfaces.sol index 76aaf56..4669c50 100644 --- a/contracts/TokenInterfaces.sol +++ b/contracts/TokenInterfaces.sol @@ -52,6 +52,10 @@ contract TokenDelegatorStorage { /// @notice Total number of tokens in circulation uint public totalSupply = 10000000e18; // TODO - Replace it + + /// @notice EIP-20 token decimals for this token + uint8 public constant decimals = 18; + } /**