Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Add boosted savings vault data #249

Merged
merged 5 commits into from Dec 23, 2020

Conversation

JamesLefrere
Copy link
Contributor

Data

  • Consume BoostedSavingsVault data from the subgraph for the current user
  • Add this data to SavingsContractState

Misc

- Subscribe to the savings contract token for the Save balance
- Consume BoostedSavingsVault data from the subgraph for the current user
- Add this data to `SavingsContractState`
@JamesLefrere JamesLefrere self-assigned this Dec 23, 2020
@@ -78,6 +79,10 @@ export const DataProvider: FC = ({ children }) => {
[data],
);

if (process.env.NODE_ENV === 'development') {
(window as { dataState?: DataState }).dataState = dataState;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a cheeky global var for local dev

@JamesLefrere JamesLefrere merged commit 279f829 into feature/save-v2 Dec 23, 2020
@JamesLefrere JamesLefrere deleted the boosted-savings-vault-data branch December 23, 2020 13:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant