Skip to content

Commit 8a839fd

Browse files
committed
refactor(assets): enhance balance calculation types and logic
- Updated balance-related types to use string instead of specific TypeScript types (AccountWalletId, AccountGroupId) for improved flexibility. - Consolidated balance calculation functions for EVM and non-EVM assets, streamlining the logic and enhancing readability. - Introduced new utility functions for retrieving valid token and asset balances, ensuring better handling of edge cases. - Improved overall structure and maintainability of the balance calculation code, adhering to functional programming principles.
1 parent 4c54e0d commit 8a839fd

File tree

1 file changed

+376
-561
lines changed

1 file changed

+376
-561
lines changed

0 commit comments

Comments
 (0)