pie-dao / pools.piedao.org

pools-piedao-org-flax.vercel.app
Other
24 stars 27 forks source link

feat(Summary): grab date and slice/dough rate from github json #340

Closed gbonumore closed 2 years ago

gbonumore commented 2 years ago
Description
Checklist
Testing
Refers/Fixes
AdrianAddesso commented 2 years ago

I suggest to change the following text at the Compounding modal -> You will send your SLICE to the PieDAO Treasury and then deposit veDOUGH into your account two weeks after the distribution date: 12/25/52.

for this one ->> You will send SLICE to PieDAO's Treasury and receive veDOUGH in exchange 2 weeks after rewards distribution. (Next compound: date).

AdrianAddesso commented 2 years ago

How to test

-> Go to https://github.com/pie-dao/shared-metadata/blob/main/slice-rate.json -> Click on 'edit this file' -> Update the 'nextCompoundWindow' value, keeping the same format (mm/dd/yy) -> Commit and merge changes -> Go to https://www.piedao.org/#/dough-staking, click on the compound modal and validate the Date has been properly updated