Closed ChefMomota closed 2 weeks ago
Latest commit: bcf9267f73cd96bf9418401d5ca45b1c15907124
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
aptos-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 4, 2024 4:42am |
gamification | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 4, 2024 4:42am |
web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 4, 2024 4:42am |
PR-Codex overview
This PR focuses on refactoring the position manager functionality within the PancakeSwap platform. It introduces a new data fetching mechanism, updates hooks for better data management, and removes outdated tests and constants related to vault configurations.
Detailed summary
src/utils/index.ts
to exportfetchPositionManager
.POSITION_MANAGER_API_V2
endpoint inendpoints.ts
.useVaultConfigs
to utilizeusePositionManager
.usePositionManagerName
hook for fetching manager names.fetchPositionManager
to cache results and fetch data from the API.