Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price magic (EGN-734) #1653

Merged
merged 20 commits into from
Sep 23, 2024
Merged

Price magic (EGN-734) #1653

merged 20 commits into from
Sep 23, 2024

Conversation

LufyCZ
Copy link
Collaborator

@LufyCZ LufyCZ commented Sep 1, 2024

https://linear.app/sushi/issue/EGN-734/incremental-price-updater


PR-Codex overview

This PR removes the apps/tron directory and packages/react-query dependencies. It also updates URLs and imports related to SUSHI_DATA_API_HOST.

Detailed summary

  • Deleted apps/tron directory and packages/react-query dependencies
  • Updated URLs and imports related to SUSHI_DATA_API_HOST

The following files were skipped due to too many changes: apps/web/src/lib/swap/cross-chain/actions/getTrade.ts, packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-wallet.ts, packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-history.ts, packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-positions.ts, packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-claimables.ts, packages/graph-client/src/subgraphs/data-api/queries/v3/pools.ts, apps/web/src/lib/swap/cross-chain/lib/SquidAdapter.ts, packages/graph-client/src/subgraphs/data-api/queries/v3/pools-by-tokens.ts, apps/web/test/helpers/swap.ts, apps/web/src/lib/analytics/use-furo-tokens.ts, apps/web/src/lib/swap/cross-chain/actions/getSquidCrossChainTrade.ts, apps/web/src/ui/pool/RewardsV3ClaimableCell.tsx, apps/web/src/ui/pool/Rate.tsx, apps/web/src/lib/wagmi/hooks/steer/useSteerAccountPositionsExtended.ts, apps/web/src/ui/stake/XSushiPrice.tsx, apps/web/src/ui/pool/AddSectionStakeWidget.tsx, apps/web/src/ui/pool/PoolDepthChart.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-trending-tokens.tsx, apps/web/src/ui/pool/ConcentratedLiquidityHarvestButton.tsx, apps/web/src/ui/pool/DistributionDataTable.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-my-tokens.tsx, apps/web/src/ui/pool/PoolRewardDistributionsCard.tsx, apps/web/src/lib/hooks/useSimulateTrade.ts, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-custom-list.tsx, packages/graph-client/src/subgraphs/data-api/queries/sushi-bar/stats.ts, packages/graph-client/src/subgraphs/data-api/queries/sushi-bar/history.ts, apps/web/src/ui/swap/simple/simple-swap-token-not-found-dialog.tsx, packages/react-query/src/hooks/rewards/useAngleRewards.ts, apps/web/src/lib/wagmi/components/token-selector/hooks/use-my-tokens.ts, apps/web/src/lib/hooks/useTokenAmountDollarValues.ts, apps/web/src/ui/swap/trade-route-path-view.tsx, apps/web/src/ui/pool/Steer/SteerStrategyLiquidityChart/SteerStrategyLiquidityDistribution.tsx, apps/web/src/ui/pool/LiquidityDepthWidget.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/common/token-selector-import-row.tsx, apps/web/src/ui/pool/CreatePositionManual.tsx, apps/web/src/app/(evm)/[chainId]/pool/incentivize/page.tsx, apps/web/src/lib/wagmi/components/user-profile/DefaultView.tsx, apps/web/src/ui/pool/SelectPricesWidget.tsx, apps/web/src/ui/pool/RewardsSection.tsx, apps/web/src/ui/swap/cross-chain/cross-chain-swap-token-not-found-dialog.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-search.tsx, apps/web/src/ui/pool/RewardsV3NameCell.tsx, apps/web/src/ui/pool/columns.tsx, packages/sushi/src/data/lowercase-map.ts, apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-chip-bar.tsx, apps/web/src/ui/swap/simple/simple-swap-trade-review-dialog.tsx, apps/web/src/ui/pool/RewardSlide.tsx, apps/web/src/lib/wagmi/components/token-selector/token-lists/common/token-selector-row.tsx, apps/web/src/ui/pool/PoolPageV3.tsx, apps/web/src/app/(evm)/providers.tsx, apps/web/src/ui/swap/simple/derivedstate-simple-swap-provider.tsx, apps/web/src/app/tokenlist-request/page.tsx, apps/web/src/ui/pool/AddSectionReviewModalConcentrated.tsx, apps/web/src/app/(evm)/_common/ui/price-provider/price-provider/use-price.ts, packages/react-query/src/hooks/rewards/useAngleRewardsMultipleChains.ts, apps/web/src/lib/wagmi/components/token-security-view.tsx, apps/web/src/ui/swap/cross-chain/cross-chain-swap-header.tsx, apps/web/src/app/(evm)/_common/ui/price-provider/price-provider/types.ts, apps/web/src/lib/wagmi/hooks/bonds/use-bond-discount.ts, apps/web/src/ui/pool/AddSectionReviewModalLegacy.tsx, packages/steer-sdk/src/utils/getSteerTokenRatios.ts, apps/web/src/ui/pool/V3PositionView.tsx, apps/web/src/app/(landing)/layout.tsx, apps/web/src/ui/pool/Steer/SteerLiquidityDistributionWidget/SteerTokenDistributionBar.tsx, apps/web/src/providers/query-client-provider.tsx, apps/web/package.json, apps/web/src/lib/wagmi/hooks/positions/hooks/useConcentratedLiquidityPositions.ts, apps/web/src/lib/wagmi/components/web3-input/Currency/CurrencyInput.tsx, apps/web/src/lib/wagmi/hooks/bonds/use-bond-market-details.ts, apps/web/src/lib/wagmi/components/token-selector/token-lists/common/token-selector-currency-list.tsx, apps/web/src/lib/pool/simulateAPR.ts, apps/web/src/ui/swap/twap/twap.tsx, apps/web/src/ui/swap/simple/simple-swap-header.tsx, apps/web/src/lib/wagmi/components/web3-input/Currency/PricePanel.tsx, apps/web/src/app/(evm)/_common/ui/price-provider/price-worker/types.ts, packages/react-query/src/hooks/trade/useTrade.ts, apps/web/src/app/(evm)/_common/ui/price-provider/price-provider/use-prices.ts, apps/web/src/app/(evm)/_common/ui/price-provider/price-provider/price-provider.tsx, apps/web/src/app/(evm)/_common/ui/price-provider/price-worker/price-worker.ts, pnpm-lock.yaml

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

Copy link

vercel bot commented Sep 1, 2024

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

Name Status Preview Comments Updated (UTC)
token-list ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 7:56pm
tokens ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 7:56pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 7:56pm

Copy link

changeset-bot bot commented Sep 1, 2024

⚠️ No Changeset found

Latest commit: 0b66755

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 or glob expression "@sushiswap/tron" is specified in the `ignore` option but it is not found in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@LufyCZ LufyCZ changed the title Price magic Price magic (EGN-734) Sep 10, 2024
Copy link

linear bot commented Sep 10, 2024

Copy link

socket-security bot commented Sep 23, 2024

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

Package New capabilities Transitives Size Publisher
npm/sushi@4.0.5 environment, network 0 6.43 MB matthewlilley

View full report↗︎

@LufyCZ LufyCZ merged commit c708791 into master Sep 23, 2024
11 checks passed
@LufyCZ LufyCZ deleted the price-magic branch September 23, 2024 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant