Skip to content

Commit

Permalink
Merge pull request #2311 from keep-network/saddle-reward-rate-fix
Browse files Browse the repository at this point in the history
Fix reward pool per week for saddle pool

Get reward pool per week value based on rewardRate() method from the
LPRewardsContract instead of hardcoding the value.
  • Loading branch information
r-czajkowski authored Jan 29, 2021
2 parents 3fef6e0 + 4ac850f commit a32297f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/dashboard/src/services/liquidity-rewards.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class SaddleLPRewards extends LiquidityRewards {

const keepTokenInUSD = await getKeepTokenPriceInUSD()

const rewardPoolPerWeek = 125000 // await this.rewardPoolPerWeek()
const rewardPoolPerWeek = await this.rewardPoolPerWeek()

const lpRewardsPoolInUSD = totalSupplyOfLPRewards
.multipliedBy(wrappedTokenPoolInUSD)
Expand Down

0 comments on commit a32297f

Please sign in to comment.