Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cache client integrated #22

Merged

Conversation

sendra
Copy link
Contributor

@sendra sendra commented Sep 30, 2021

No description provided.

@sendra sendra changed the base branch from master to feat/add-incentives-data-provider September 30, 2021 13:49
@sakulstra sakulstra changed the title Feat/cache client integrated feat: cache client integrated Sep 30, 2021
@defispartan defispartan merged commit 90317ed into feat/add-incentives-data-provider Oct 4, 2021
@sakulstra sakulstra deleted the feat/cache-client-integrated branch October 18, 2021 12:46
sakulstra pushed a commit that referenced this pull request Nov 1, 2021
* feat: add aave-utilities packages

* feat: add UiIncentiveDataProvider configurations

* feat: add hook to fetch and format incentive data from UiIncentiveDataProvider contract

* feat: add context for reserve asset incentives and total claimable rewards for user

* feat: add incentives context to main App

* feat: generated gql schemas for incentives cache resolvers

* feat: wip: add cache integration

* feat: incentives cache done

* fix: added missing type

* feat: cache client integrated (#22)

* feat: added cache data and mixed with rpc data. missing to solve some types

* fix: fixed user rewards type

* fixed reserves type

* feat: update incentives context with latest helper functions

* feat: updated iIncentiveDatProvider contract interface

Co-authored-by: Andrew Schmidt <[email protected]>

* feat: split reserve and user incentive data fetching

* feat: update claimableRewards outside of useEffect and fix decimal type issue

* feat: replace incentive data source with new context

* feat: update user reward claim components with new context

* Merge branch 'master' into feat/add-incentives-data-provider

* feat: add UiIncentiveDataProvider address to avalanche

* feat: update incentives hooks with latest contract version

* feat: add chainlinkFeedRegistry to network config

* feat: add fallback to chainlink registry for reward token price

* feat: update caching server incentives interface

* fix: incentives for network base assets (ETH and MATIC)

* feat: added avalanche incentives helper. commented incentive addresses

* feat: match incentive address to reserve address for base assets

* feat: add rewardTokenDecimals and mock TRIBE rewards

* feat: display multiple incentive balances

* feat: modify rewardConfirm to work with different incentiveControllers

* fixed: incentive styles

* fix: logic for displaying claimable incentives

* feat: update txBuilder to allow claiming from multiple incentives controllers

* fix: calculation of user rewards with base assets

* fix: remove console.log and reenable cache on mainnet

* fix: remove hardcoded incentives

* fix: remove unnecessary format functions

* fix: remove client-config changes

* fix: pr comments

* bump: aave-utilities

* fix: pr comments

* feat: update incentive context

* feat: update components using incentive context

* fix: update calculations with raw reserve and user data

* feat: add baseAssetWrappedAddress to network config

* feat: add addresses field to networkConfig

* feat: update incentives txBuilder

* style fix

* feat: replace APY with APR for incentive variables

* fix: prettier warning

* fixed: dashboard borrow composition bar

* update tests to new reward UI

* feat: update incentives on PoolTxConfirm

Co-authored-by: sendra <[email protected]>
Co-authored-by: Pol Sendra <[email protected]>
Co-authored-by: Alex <[email protected]>
Co-authored-by: NikitaQA <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants