From 75224670ea585caab54be9c053df1e7436fe41e0 Mon Sep 17 00:00:00 2001 From: SidharthK2 Date: Wed, 30 Oct 2024 11:16:50 +0530 Subject: [PATCH] remove unused functions --- src/data/LockConstants.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/data/LockConstants.tsx b/src/data/LockConstants.tsx index 0fcbb9c4..ebb4b7a4 100644 --- a/src/data/LockConstants.tsx +++ b/src/data/LockConstants.tsx @@ -26,13 +26,3 @@ export const WEEKLY_EMISSION = DAILY_EMISSION * 7 export const calculateEstimatedYieldPerWeek = () => { return WEEKLY_EMISSION } - -export const calculateUserPoolRewardOverTheYear = ( - years: number, - userTotalHiiq: number, - totalHIIQ: number, -) => { - if (!userTotalHiiq || !totalHIIQ) return 0 - const userPoolShare = userTotalHiiq / (totalHIIQ + userTotalHiiq) - return YEARLY_EMISSION * userPoolShare * years -}