Skip to content

feat: Implement disable add liquidity for specific chains #11959

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

Merged
merged 11 commits into from
Jul 29, 2025

Conversation

memoyil
Copy link
Collaborator

@memoyil memoyil commented Jul 20, 2025


PR-Codex overview

This PR introduces a mechanism to disable adding liquidity for certain blockchain networks by implementing a DISABLED_ADD_LIQUIDITY_CHAINS constant. It also adds a LiquiditySunsetWarning component to notify users about the sunset dates for these chains.

Detailed summary

  • Added DISABLED_ADD_LIQUIDITY_CHAINS constant in liquidity.ts.
  • Implemented LiquiditySunsetWarning component to display warnings about sunset dates.
  • Integrated LiquiditySunsetWarning in PoolsBanner, PoolInfo, and other components.
  • Updated buttons to disable adding liquidity based on the chain's status.
  • Modified translation files to include sunset-related messages.

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

Copy link

vercel bot commented Jul 20, 2025

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

Name Status Preview Comments Updated (UTC)
solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2025 2:16am
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2025 2:16am
7 Skipped Deployments
Name Status Preview Comments Updated (UTC)
aptos-web ⬜️ Ignored (Inspect) Jul 29, 2025 2:16am
blog ⬜️ Ignored (Inspect) Jul 29, 2025 2:16am
bridge ⬜️ Ignored (Inspect) Jul 29, 2025 2:16am
games ⬜️ Ignored (Inspect) Jul 29, 2025 2:16am
gamification ⬜️ Ignored (Inspect) Jul 29, 2025 2:16am
ton ⬜️ Ignored (Inspect) Jul 29, 2025 2:16am
uikit ⬜️ Ignored (Inspect) Jul 29, 2025 2:16am

Copy link

changeset-bot bot commented Jul 20, 2025

⚠️ No Changeset found

Latest commit: 4bf0fe3

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

@vercel vercel bot temporarily deployed to Preview – solana July 20, 2025 22:29 Inactive
@vercel vercel bot temporarily deployed to Preview – solana July 21, 2025 00:29 Inactive
@vercel vercel bot temporarily deployed to Preview – solana July 21, 2025 00:51 Inactive
@vercel vercel bot temporarily deployed to Preview – solana July 21, 2025 00:53 Inactive
@memoyil memoyil changed the title feat: Implement disable add liqudity for specific chains feat: Implement disable add liquidity for specific chains Jul 21, 2025
@vercel vercel bot temporarily deployed to Preview – solana July 21, 2025 00:57 Inactive
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jul 21, 2025
@vercel vercel bot temporarily deployed to Preview – solana July 21, 2025 01:15 Inactive
@memoyil memoyil force-pushed the feature/feat_implement_disable_add_liqudity branch from 8982f5f to 8e8ad56 Compare July 21, 2025 01:36
@pull-request-size pull-request-size bot added size/M and removed size/L labels Jul 21, 2025
@vercel vercel bot temporarily deployed to Preview – solana July 21, 2025 01:38 Inactive
@chef-ryan chef-ryan merged commit f21ac87 into develop Jul 29, 2025
23 checks passed
@chef-ryan chef-ryan deleted the feature/feat_implement_disable_add_liqudity branch July 29, 2025 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants