Synthetixio / kwenta

DEPRECATED. Please use: https://github.com/Kwenta/kwenta
MIT License
11 stars 20 forks source link

fix: lookup current shorting snx rewards rate & duration from contract #318

Closed kelonye closed 3 years ago

kelonye commented 3 years ago
vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/synthetixio/kwenta/HhCzmvpg4njz7wrxUQoPPkgdDSqL
✅ Preview: https://kwenta-git-dynamic-shorting-rewards-apr-synthetixio.vercel.app

cypress[bot] commented 3 years ago



Test summary

2 0 0 0Flakiness 0


Run details

Project kwenta
Status Passed
Commit 99fe5db2f8 ℹ️
Started Apr 4, 2021 7:37 PM
Ended Apr 4, 2021 7:40 PM
Duration 02:51 💡
OS Linux Ubuntu - 20.04
Browser Chrome 89

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

evgenyboxer commented 3 years ago

@vbstreetz looks good! what has changed in the lock file?

kelonye commented 3 years ago

@vbstreetz looks good! what has changed in the lock file?

Not sure. Shall we gitignore lock files?

kelonye commented 3 years ago

Updated computation to https://github.com/Synthetixio/stats/blob/master/queries/yield-farming/useRewardsContractInfoQuery.ts#L79-L88