Skip to content

Commit

Permalink
Update LockOverviewUtils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kesar authored Dec 19, 2024
1 parent 7554d1b commit c8f7c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/LockOverviewUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const calculateStakeReward = (
const baseHiIQ = amountLocked + amountLocked * 3 * (yearsLocked / 4)
const userPoolShare = baseHiIQ / (totalHiiq + baseHiIQ)
const totalPoolReward = YEARLY_EMISSION * userPoolShare * yearsLocked
return baseHiIQ + totalPoolReward
return amountLocked + totalPoolReward
}

export const calculateAPR = (
Expand Down

0 comments on commit c8f7c9e

Please sign in to comment.