Skip to content
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

refactor(wallet-connect): optimize transaction function name matching #1008

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

ArturHoncharuk
Copy link
Collaborator

No description provided.

- Introduced a `mappedFunctionNames` array to simplify and centralize transaction function name checks
- Updated `isWrapOrUnwrap` logic to use `includes()` with case-insensitive matching
- Improved code readability and maintainability for transaction type detection
…roval

- Updated the unstake token symbol from `CryptoCurrencyCode.BOND` to `CryptoCurrencyCode.stAMB` to ensure accurate representation of the token during wallet connect transaction approval
@ArturHoncharuk ArturHoncharuk merged commit 89ac9c4 into dev Jan 27, 2025
1 of 2 checks passed
@ArturHoncharuk ArturHoncharuk deleted the AMB-5337 branch January 27, 2025 08:37
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.

2 participants