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(yield): use pools info from API #5138

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

shoom3301
Copy link
Collaborator

@shoom3301 shoom3301 commented Nov 28, 2024

NOT READY YET, WAITING FOR BFF DEPLOY

Summary

cowprotocol/bff#99 - BFF

There are two new endpoints:

To Test

  1. The values on UI should match values from API
  2. Values should be updated after network changes

Important!
If there are some issues with data (you see it on the API response), please report it in slack channel about vampire attack.

@shoom3301 shoom3301 requested review from a team November 28, 2024 11:57
@shoom3301 shoom3301 self-assigned this Nov 28, 2024
Copy link

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cosmos ✅ Ready (Inspect) Visit Preview Nov 28, 2024 0:07am
cowfi ✅ Ready (Inspect) Visit Preview Nov 28, 2024 0:07am
explorer-dev ✅ Ready (Inspect) Visit Preview Nov 28, 2024 0:07am
swap-dev ✅ Ready (Inspect) Visit Preview Nov 28, 2024 0:07am
widget-configurator ✅ Ready (Inspect) Visit Preview Nov 28, 2024 0:07am

const { data: poolsAverageApr } = useSWR(
[chainId, 'getPoolsAverageApr'],
async ([chainId]) => {
// TODO: use BFF_BASE_URL
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// TODO: use BFF_BASE_URL

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