Skip to content

Conversation

keithbro-imx
Copy link
Contributor

@keithbro-imx keithbro-imx commented Feb 18, 2025

Hi👋, please prefix this PR's title with:

  • breaking-change: if you have introduced modification that necessitates immediate adjustments by this SDK's users to their applications, clients, or integrations to avert disruptions to existing features or functionalities.
  • feat:, fix:, refactor:, docs:, or chore:.

Summary

Add USDC to "common routing tokens" allowing it to be considered as a hop for swaps.

Further justification for this is that we recommend games set up a USDC LP for their token: https://docs.immutable.com/guides/zkevm/game-currencies/liquidity-pools/#set-up-your-liquidity-pool-with-quickswap

Also added USDT as some tokens only have USDT pools e.g. https://quickswap.exchange/#/analytics/v3/token/0x699797abcdc2e20165fE4bAC5efbAa652490E6E2

Ran some tests locally and adding two more common routing tokens only increased the quoting time by about 50ms.

Detail and impact of the change

Added

Changed

Deprecated

Removed

Fixed

Security

Anything else worth calling out?

@keithbro-imx keithbro-imx requested a review from a team as a code owner February 18, 2025 05:16
Copy link

nx-cloud bot commented Feb 18, 2025

View your CI Pipeline Execution ↗ for commit 5bf1207.

Command Status Duration Result
nx affected -t build,lint,test,typecheck ✅ Succeeded 6m 44s View ↗
nx run-many --target=build --projects=@imtbl/sdk ✅ Succeeded 4m 18s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-19 00:38:07 UTC

pano-skylakis
pano-skylakis previously approved these changes Feb 18, 2025

export const USDT_IMMUTABLE_MAINNET: ERC20 = {
chainId: IMMUTABLE_MAINNET_CHAIN_ID,
address: '0x68bcc7F1190AF20e7b572BCfb431c3Ac10A936Ab',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double checked both addys

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you sir

@keithbro-imx keithbro-imx added this pull request to the merge queue Feb 19, 2025
Merged via the queue into main with commit 27bd2ed Feb 19, 2025
7 checks passed
@keithbro-imx keithbro-imx deleted the task/GFI-82-allow-USDC-swap-hops branch February 19, 2025 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants