pancakeswap / pancake-frontend

:pancakes: Pancake main features (farms, pools, IFO, lottery, profiles)
https://pancakeswap.finance
GNU General Public License v3.0
2.7k stars 3.56k forks source link

feat: V4 Quoter Integration #10844

Closed chefjackson closed 1 month ago

chefjackson commented 1 month ago

PR-Codex overview

This PR focuses on introducing support for V4 liquidity pools in the smart-router package, enhancing the routing capabilities by adding new pool types and updating various components to accommodate the new V4 features.

Detailed summary

The following files were skipped due to too many changes: packages/smart-router/evm/abis/ICLQuoter.ts, packages/smart-router/evm/abis/IBinQuoter.ts

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

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 6ade77fc2c6bec77cc0dcd5c40a28544122cac12

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 33 packages | Name | Type | | ------------------------------------------ | ----- | | @pancakeswap/swap-sdk-core | Minor | | @pancakeswap/price-api-sdk | Major | | @pancakeswap/smart-router | Minor | | @pancakeswap/aptos-swap-sdk | Patch | | @pancakeswap/farms | Patch | | @pancakeswap/hooks | Patch | | @pancakeswap/pcsx-sdk | Patch | | @pancakeswap/routing-sdk | Patch | | @pancakeswap/stable-swap-sdk | Patch | | @pancakeswap/swap-sdk-evm | Patch | | @pancakeswap/sdk | Patch | | @pancakeswap/token-lists | Patch | | @pancakeswap/v2-sdk | Patch | | @pancakeswap/v3-sdk | Patch | | @pancakeswap/v4-sdk | Patch | | @pancakeswap/widgets-internal | Patch | | @pancakeswap/routing-sdk-addon-quoter | Patch | | @pancakeswap/routing-sdk-addon-stable-swap | Patch | | @pancakeswap/routing-sdk-addon-v2 | Patch | | @pancakeswap/routing-sdk-addon-v3 | Patch | | @pancakeswap/universal-router-sdk | Patch | | routing-api | Patch | | @pancakeswap/uikit | Patch | | games | Patch | | @pancakeswap/gauges | Patch | | @pancakeswap/ifos | Patch | | @pancakeswap/multicall | Patch | | @pancakeswap/permit2-sdk | Patch | | @pancakeswap/position-managers | Patch | | @pancakeswap/prediction | Patch | | @pancakeswap/tokens | Patch | | @pancakeswap/pools | Patch | | playground | Patch |

Not sure what this means? Click here to learn what changesets are.

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

vercel[bot] commented 1 month ago

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 Oct 28, 2024 9:59am
gamification ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 28, 2024 9:59am
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 28, 2024 9:59am
4 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **blog** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/blog/GbzGC5atmoz4xkc4AJq7zJctJNk1)) | [Visit Preview](https://blog-git-feature-v4-quoter.pancake.run) | | Oct 28, 2024 9:59am | | **bridge** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/bridge/dxe2wNuCzUcLJodqodMVQfpezHxv)) | [Visit Preview](https://bridge-git-feature-v4-quoter.pancake.run) | | Oct 28, 2024 9:59am | | **games** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/games/8nZTqQvecZt8VqVXcbgwyPW9XMhY)) | [Visit Preview](https://games-git-feature-v4-quoter.pancake.run) | | Oct 28, 2024 9:59am | | **uikit** | ⬜️ Ignored ([Inspect](https://vercel.com/pancakeswap/uikit/G2K8nE9Be9uctoLeS2yewDf2fiAw)) | [Visit Preview](https://uikit-git-feature-v4-quoter.pancake.run) | | Oct 28, 2024 9:59am |
socket-security[bot] commented 1 month ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

chefjackson commented 1 month ago

@SocketSecurity ignore npm/@sentry/node@5.30.0 @SocketSecurity ignore npm/@cspotcode/source-map-support@0.8.1 @SocketSecurity ignore npm/@emotion/is-prop-valid@0.8.8 @SocketSecurity ignore npm/@emotion/use-insertion-effect-with-fallbacks@1.0.1 @SocketSecurity ignore npm/@manypkg/find-root@1.1.0 @SocketSecurity ignore npm/@manypkg/get-packages@1.1.3 @SocketSecurity ignore npm/@changesets/types@4.1.0 @SocketSecurity ignore npm/@emotion/babel-plugin@11.11.0 @SocketSecurity ignore npm/@emotion/is-prop-valid@1.2.1 @SocketSecurity ignore npm/@cypress/xvfb@1.2.4 @SocketSecurity ignore npm/@material-ui/core@4.12.4 @SocketSecurity ignore npm/@material-ui/styles@4.11.5 @SocketSecurity ignore npm/@material-ui/system@4.12.2 @SocketSecurity ignore npm/@material-ui/utils@4.11.3 @SocketSecurity ignore npm/@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3 @SocketSecurity ignore npm/@cypress/request@2.88.12 @SocketSecurity ignore npm/@parcel/watcher-wasm@2.3.0 @SocketSecurity ignore npm/@microsoft/tsdoc-config@0.16.2 @SocketSecurity ignore npm/@nomicfoundation/solidity-analyzer@0.1.1 @SocketSecurity ignore npm/@json-rpc-tools/provider@1.7.6 @SocketSecurity ignore npm/@json-rpc-tools/utils@1.7.6 @SocketSecurity ignore npm/@json-rpc-tools/types@1.7.6 @SocketSecurity ignore npm/@babel/register@7.22.15 @SocketSecurity ignore npm/@lit-labs/ssr-dom-shim@1.1.2 @SocketSecurity ignore npm/@motionone/vue@10.16.4 @SocketSecurity ignore npm/@gnosis.pm/safe-react-gateway-sdk@3.5.2 @SocketSecurity ignore npm/@esbuild-plugins/node-globals-polyfill@0.1.1 @SocketSecurity ignore npm/@esbuild-plugins/node-modules-polyfill@0.1.4 @SocketSecurity ignore npm/@rushstack/node-core-library@3.61.0 @SocketSecurity ignore npm/@rushstack/rig-package@0.5.1 @SocketSecurity ignore npm/@humanwhocodes/config-array@0.11.13 @SocketSecurity ignore npm/@miniflare/cli-parser@2.13.0 @SocketSecurity ignore npm/@miniflare/core@2.13.0 @SocketSecurity ignore npm/@miniflare/d1@2.13.0 @SocketSecurity ignore npm/@miniflare/http-server@2.13.0 @SocketSecurity ignore npm/@miniflare/runner-vm@2.13.0 @SocketSecurity ignore npm/@miniflare/shared@2.13.0 @SocketSecurity ignore npm/@miniflare/storage-file@2.13.0 @SocketSecurity ignore npm/@miniflare/watcher@2.13.0 @SocketSecurity ignore npm/@rushstack/ts-command-line@4.17.1 @SocketSecurity ignore npm/@eslint/eslintrc@2.1.3 @SocketSecurity ignore npm/@storybook/components@7.5.3 @SocketSecurity ignore npm/@storybook/csf-plugin@7.5.3 @SocketSecurity ignore npm/@storybook/csf-tools@7.5.3 @SocketSecurity ignore npm/@storybook/node-logger@7.5.3 @SocketSecurity ignore npm/@storybook/core-common@7.5.3 @SocketSecurity ignore npm/@storybook/builder-manager@7.5.3 @SocketSecurity ignore npm/@storybook/builder-vite@7.5.3 @SocketSecurity ignore npm/@storybook/cli@7.5.3 @SocketSecurity ignore npm/@storybook/codemod@7.5.3

chefjackson commented 1 month ago

@SocketSecurity ignore npm/@storybook/core-server@7.5.3 @SocketSecurity ignore npm/@floating-ui/react-dom-interactions@0.12.0 @SocketSecurity ignore npm/@ledgerhq/iframe-provider@0.4.3 @SocketSecurity ignore npm/@babel/preset-env@7.23.3 @SocketSecurity ignore npm/@snapshot-labs/snapshot.js@0.4.110 @SocketSecurity ignore npm/@solana/web3.js@1.87.6 @SocketSecurity ignore npm/@pythnetwork/price-service-client@1.8.2 @SocketSecurity ignore npm/@changesets/read@0.6.0 @SocketSecurity ignore npm/@changesets/git@3.0.0 @SocketSecurity ignore npm/@changesets/apply-release-plan@7.0.0 @SocketSecurity ignore npm/@changesets/config@3.0.0 @SocketSecurity ignore npm/@changesets/pre@2.0.0 @SocketSecurity ignore npm/@changesets/write@0.3.0 @SocketSecurity ignore npm/@changesets/cli@2.27.1 @SocketSecurity ignore npm/@nomiclabs/hardhat-etherscan@3.1.8 @SocketSecurity ignore npm/@react-native/babel-preset@0.73.21 @SocketSecurity ignore npm/@react-native/metro-babel-transformer@0.73.15 @SocketSecurity ignore npm/@mui/base@5.0.0-beta.36 @SocketSecurity ignore npm/@mui/system@5.15.9 @SocketSecurity ignore npm/@mui/utils@5.15.9 @SocketSecurity ignore npm/@mui/private-theming@5.15.9 @SocketSecurity ignore npm/@mui/styled-engine@5.15.9 @SocketSecurity ignore npm/@mui/material@5.15.10 @SocketSecurity ignore npm/@react-native-community/cli@12.3.6 @SocketSecurity ignore npm/@react-native-community/cli-platform-android@12.3.6 @SocketSecurity ignore npm/@react-native-community/cli-platform-ios@12.3.6 @SocketSecurity ignore npm/@react-native-community/cli-clean@12.3.6 @SocketSecurity ignore npm/@react-native-community/cli-config@12.3.6 @SocketSecurity ignore npm/@react-native-community/cli-doctor@12.3.6 @SocketSecurity ignore npm/@react-native-community/cli-hermes@12.3.6 @SocketSecurity ignore npm/@react-native-community/cli-server-api@12.3.6 @SocketSecurity ignore npm/@react-native-community/cli-tools@12.3.6 @SocketSecurity ignore npm/@emotion/react@11.11.4 @SocketSecurity ignore npm/@emotion/is-prop-valid@1.2.2 @SocketSecurity ignore npm/@defi.org/web3-candies@4.20.17 @SocketSecurity ignore npm/@nomicfoundation/edr@0.3.3 @SocketSecurity ignore npm/@emotion/styled@11.11.5 @SocketSecurity ignore npm/@emotion/serialize@1.1.4 @SocketSecurity ignore npm/@next/eslint-plugin-next@14.2.3 @SocketSecurity ignore npm/@sentry/cli@2.32.1 @SocketSecurity ignore npm/@rollup/plugin-commonjs@26.0.1 @SocketSecurity ignore npm/@redocly/openapi-core@1.16.0 @SocketSecurity ignore npm/@opentelemetry/instrumentation@0.52.1 @SocketSecurity ignore npm/@opentelemetry/core@1.25.1 @SocketSecurity ignore npm/@opentelemetry/resources@1.25.1 @SocketSecurity ignore npm/@sentry/bundler-plugin-core@2.20.1 @SocketSecurity ignore npm/@prisma/instrumentation@5.16.1 @SocketSecurity ignore npm/@sentry/node@8.16.0 @SocketSecurity ignore npm/@sentry/nextjs@8.16.0 @SocketSecurity ignore npm/@sentry/vercel-edge@8.16.0

chefjackson commented 1 month ago

@SocketSecurity ignore npm/@orbs-network/twap-ui@0.11.2 @SocketSecurity ignore npm/@metamask/sdk-communication-layer@0.28.2

socket-security[bot] commented 1 month ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

🚮 Removed packages: npm/ws@8.17.1

View full report↗︎

chefjackson commented 1 month ago

@SocketSecurity ignore npm/@testing-library/react@12.1.5 @SocketSecurity ignore npm/@testing-library/dom@8.20.1 @SocketSecurity ignore npm/@testing-library/react@13.4.0 @SocketSecurity ignore npm/@reduxjs/toolkit@1.9.7 @SocketSecurity ignore npm/@tanstack/react-query@4.36.1 @SocketSecurity ignore npm/@tanstack/query-core@4.36.1 @SocketSecurity ignore npm/@tanstack/query-persist-client-core@4.36.1 @SocketSecurity ignore npm/@tanstack/react-query-devtools@4.36.1 @SocketSecurity ignore npm/@stylelint/postcss-css-in-js@0.37.3 @SocketSecurity ignore npm/@tinyhttp/app@1.3.0 @SocketSecurity ignore npm/@tinyhttp/etag@1.3.0 @SocketSecurity ignore npm/@tinyhttp/send@1.3.0 @SocketSecurity ignore npm/@storybook/theming@7.5.3 @SocketSecurity ignore npm/@storybook/router@7.5.3 @SocketSecurity ignore npm/@storybook/react-vite@7.5.3 @SocketSecurity ignore npm/@storybook/telemetry@7.5.3 @SocketSecurity ignore npm/@tanstack/query-core@5.52.0