Skip to content

Commit

Permalink
remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
SidharthK2 committed Oct 30, 2024
1 parent 608f210 commit 7522467
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/data/LockConstants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 7522467

Please sign in to comment.