Skip to content

fix: resolve withdrawal phantom icons by token address - #502

Closed
de-snake wants to merge 1 commit into
Gearbox-protocol:masterfrom
de-snake:codex/fix-withdrawal-phantom-icons
Closed

fix: resolve withdrawal phantom icons by token address#502
de-snake wants to merge 1 commit into
Gearbox-protocol:masterfrom
de-snake:codex/fix-withdrawal-phantom-icons

Conversation

@de-snake

@de-snake de-snake commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Resolve withdrawal phantom icons from the existing address-based source → destination titles instead of their shared on-chain symbol. For example, several unrelated phantom contracts report wdwstETH; they must not all use the same icon.

  • Keep raw symbols and explicit icon overrides unchanged.
  • Add verified liUSD-1w → iUSD and rsETH → WETH title mappings.
  • Cover all nine mapped pairs plus symbol fallback and explicit string/composite overrides.

Compatibility and release

Companion assets: Gearbox-protocol/static#317 (publish first).

Targets SDK master with the historical client-v3/main revision 1ca53dab (UI-kit 3.13.1). Current client main has migrated to SDK next and is covered by a separate next-branch change. The legacy client must consume the released SDK to select address-specific pair URLs. The static cp0x fallback remains synchronized for clients still using the old SDK.

Validation

  • Focused Vitest: 15 tests passed.
  • Typecheck passed; commit-time Biome passed.
  • Built SDK and actual UI-kit renderer checks select exact paired filenames for nine withdrawal tokens and two PT-DETH maturities.
  • Broader live audit has incomplete-chain/RPC limitations; this is not a claim of complete deployed multichain coverage.

Next-branch companion: #503.

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