You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
The historical APY in the Earn interest section shows today's date (eg: Sep 12, 2021) on all slider values. Looking at the network tab I can see these values fetched from the https://mantle.anchorprotocol.com/?earn--apy-history endpoint.
Parsing the timestamps using new Date(timestamp * 1000) as done in the InterestSection.tsx I get that the timestamps are from today's date, each an hour apart.
Proposed solution
If possible the values fetched should be from previous days and not hours. Otherwise, the time should also be included in the slider label (eg: 13h, Sep 12, 2021). Ideally a larger historical view is shown (past 50, 100 or 1000 days).
The text was updated successfully, but these errors were encountered:
We're working to solve this. This needs support from the backend where APY snapshot is taken every hour. We have the code for it but didn't implement it on the webapp front due to other tasks being of higher priority.
Problem
The historical APY in the Earn interest section shows today's date (eg: Sep 12, 2021) on all slider values. Looking at the network tab I can see these values fetched from the
https://mantle.anchorprotocol.com/?earn--apy-history
endpoint.Parsing the timestamps using
new Date(timestamp * 1000)
as done in the InterestSection.tsx I get that the timestamps are from today's date, each an hour apart.Proposed solution
If possible the values fetched should be from previous days and not hours. Otherwise, the time should also be included in the slider label (eg: 13h, Sep 12, 2021). Ideally a larger historical view is shown (past 50, 100 or 1000 days).
The text was updated successfully, but these errors were encountered: