pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

fix: Use new graph api for swap info

Open memoyil opened this issue 10 months ago • 2 comments


PR-Codex overview

This PR updates the fetchDerivedPriceData.ts file to include a new EXPLORER_API constant and modifies the SWAP_INFO_BY_CHAIN object to use this constant for V3 subgraph URL.

Detailed summary

  • Added EXPLORER_API constant import
  • Updated V3 subgraph URL for BSC chain in SWAP_INFO_BY_CHAIN

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

memoyil avatar Apr 16 '24 08:04 memoyil

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

Name Status Preview Comments Updated (UTC)
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 8:42am
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
aptos-web ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 8:42am
blog ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 8:42am
bridge ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 8:42am
games ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 8:42am
uikit ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 8:42am

vercel[bot] avatar Apr 16 '24 08:04 vercel[bot]

⚠️ No Changeset found

Latest commit: 9979f6aca88af0a676895a013de895b6d525595c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package "gamification" depends on the ignored package "@pancakeswap/ui-wallets", but "gamification" is not being ignored. Please add "gamification" to the `ignore` option.

changeset-bot[bot] avatar Apr 16 '24 08:04 changeset-bot[bot]

hold for new api

0xjojoex avatar Apr 17 '24 10:04 0xjojoex