Skip to content

refactor(bridge-ui): deduplicate bridged token state logic in checkBalanceToBridge#21511

Open
anim001k wants to merge 1 commit intotaikoxyz:mainfrom
anim001k:patch-11
Open

refactor(bridge-ui): deduplicate bridged token state logic in checkBalanceToBridge#21511
anim001k wants to merge 1 commit intotaikoxyz:mainfrom
anim001k:patch-11

Conversation

@anim001k
Copy link
Copy Markdown

  • extract duplicated bridged token state logic from checkBalanceToBridge
  • reuse a single helper in both ERC20 and ERC1155 paths
  • preserve the existing early-return and isTokenAlreadyDeployed behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants