-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates deprecated farm configurations and refactors legacy farm configs to use a new structure. ### Detailed summary - Deprecated farm configurations updated for various chains - Refactored legacy farm configs to use a new structure - Updated functions and imports to align with the changes > The following files were skipped due to too many changes: `apps/web/src/views/Swap/hooks/useTradingRewardTokenList.tsx`, `packages/farms/src/farms/zkSync.ts`, `packages/farms/scripts/build.ts`, `packages/farms/src/farms/polygonZkEVM.ts`, `packages/farms/src/farms/zkSyncTestnet.ts`, `apps/web/src/state/farmsV4/state/farmPools/fetcher.ts`, `packages/farms/src/farms/polygonZkEVMTestnet.ts`, `apps/web/src/pages/api/v3/[chainId]/farms/index.ts`, `packages/farms/src/farms/index.ts`, `apps/web/src/state/farmsV3/hooks.ts`, `apps/web/src/state/pools/hooks.ts`, `apps/web/src/hooks/useFarm.ts`, `packages/farms/src/farms/opBNBTestnet.ts`, `apps/web/src/views/Info/Pools/PoolPage.tsx`, `apps/web/src/views/universalFarms/hooks/useCakeEarning.ts`, `packages/farms/src/farms/arb.ts`, `packages/farms/src/types.ts`, `packages/farms/src/defineFarmV3Configs.ts`, `apps/web/src/views/Home/components/Banners/hooks/useIsRenderUserBanner.ts`, `apps/web/src/views/universalFarms/hooks/useV2FarmActions.ts`, `apps/web/src/state/farmsV4/state/extendPools/fetcher.ts`, `apps/web/src/views/universalFarms/components/PositionItem/StablePositionItem.tsx`, `apps/web/src/views/universalFarms/PoolsPage.tsx`, `apps/web/src/views/PoolDetail/components/MyPositions.tsx`, `apps/web/src/views/universalFarms/components/PositionItem/V2PositionItem.tsx`, `apps/web/src/views/universalFarms/components/PoolAprButton/V2PoolAprModal.tsx`, `packages/farms/src/utils.ts`, `packages/farms/src/getLegacyFarmConfig.test.ts`, `packages/farms/src/getLegacyFarmConfig.ts`, `apps/web/src/views/Home/hooks/useFarmsWithBalance.tsx`, `apps/web/src/state/farms/hooks.ts`, `packages/farms/src/farms/eth.ts`, `packages/farms/constants/v3/index.ts`, `apps/web/src/views/TradingReward/config/pairs/index.tsx`, `apps/web/src/state/farmsV4/state/poolApr/fetcher.ts`, `apps/web/src/state/farmsV4/state/accountPositions/fetcher.ts`, `apps/web/src/state/farms/index.ts`, `apps/web/src/state/farmsV4/state/farmPools/hooks.ts`, `packages/farms/src/farms/bscTestnet.ts`, `apps/web/src/views/universalFarms/components/PositionActions/V2PositionActions.tsx`, `packages/farms/src/farms/index.test.ts`, `packages/farms/src/farms/bsc.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information
Showing
73 changed files
with
2,079 additions
and
569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.