Closed ChefMomota closed 3 weeks ago
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 | Oct 29, 2024 6:04am |
Latest commit: 20d66fafbe4689270f6fc315073a0252874a3b12
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
PR-Codex overview
This PR focuses on refactoring the fetching logic for
bCakeWrapperAddresses
and improving the usage of theuseV3FarmAPI
hook by utilizinguseMemo
for better performance.Detailed summary
fetcher.ts
, changed the mapping fromvalidReserveTokens
tovalidLpTokens
.tokens.address
instead of usinggetV2LiquidityToken
.useV3FarmAPI.ts
, replacedfarms: farms ?? []
withfarms
for cleaner code.useMemo
to memoizefarms
based ondata
.