Skip to content

fix(chains): use POL as Polygon native currency symbol - #972

Open
ninglinLiu wants to merge 1 commit into
Uniswap:mainfrom
ninglinLiu:fix/polygon-native-pol-788
Open

ninglinLiu wants to merge 1 commit into
Uniswap:mainfrom
ninglinLiu:fix/polygon-native-pol-788

Conversation

@ninglinLiu

Copy link
Copy Markdown

Summary

Polygon rebranded the native currency from MATIC to POL. nativeOnChain(ChainId.POLYGON) was still returning symbol MATIC / name Polygon Matic, and the wrapped native was still labeled WMATIC.

This updates:

  • Native display to POL / Polygon POL
  • Wrapped native label to WPOL / Wrapped POL (same addresses)
  • NATIVE_CURRENCY / CLI name tables to prefer POL while still accepting MATIC as an alias
  • Candidate-pool guards and token-cache aliases so both POL/WPOL and legacy MATIC/WMATIC work

Fixes #788

Test plan

  • nativeOnChain(ChainId.POLYGON).symbol === 'POL'
  • nativeOnChain(ChainId.POLYGON).wrapped.symbol === 'WPOL'
  • CLI still accepts MATIC via NATIVE_NAMES_BY_ID
  • Existing unit tests for non-Polygon paths unchanged

Polygon rebranded MATIC → POL. nativeOnChain(POLYGON) now returns
symbol POL / name Polygon POL, and the wrapped native is WPOL.
MATIC remains accepted as a CLI alias via NATIVE_NAMES_BY_ID.

Fixes Uniswap#788
@ninglinLiu
ninglinLiu requested a review from a team as a code owner October 28, 2026 15:42

This branch has not been deployed

No deployments
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.

POLYGON nativeOnChain returns MATIC as native token, and swaps are being performed to a Token instead of Native Currency

1 participant