Skip to content

Conversation

@PDTnhah
Copy link

@PDTnhah PDTnhah commented Nov 17, 2025

No description provided.

@PDTnhah PDTnhah requested a review from bluezdot November 17, 2025 03:05
@PDTnhah PDTnhah self-assigned this Nov 17, 2025
@saltict
Copy link

saltict commented Nov 17, 2025

🚀 Deployed on https://pr-4848--sw-web-runner.netlify.app

@saltict saltict temporarily deployed to pull request November 17, 2025 03:17 Inactive
@saltict saltict temporarily deployed to pull request November 17, 2025 07:43 Inactive
@saltict saltict temporarily deployed to pull request November 17, 2025 11:18 Inactive
@PDTnhah PDTnhah linked an issue Nov 17, 2025 that may be closed by this pull request
3 tasks
@bluezdot bluezdot requested a review from saltict November 17, 2025 11:41
@saltict saltict temporarily deployed to pull request November 17, 2025 11:45 Inactive
@saltict saltict temporarily deployed to pull request November 18, 2025 03:08 Inactive
@saltict saltict temporarily deployed to pull request November 19, 2025 12:39 Inactive
@PDTnhah PDTnhah requested review from bluezdot and saltict November 21, 2025 08:34
@saltict saltict temporarily deployed to pull request November 21, 2025 08:44 Inactive

if (typeValid) {
return subwalletApiSdk.balanceDetectionApi.getSubWalletTokenBalance(address)
return subwalletApiSdk.balanceDetectionApi.getSwEvmTokenBalance(address)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetchEvmHolderTokenSlugs

const tokenSlugsWithBalance: string[] = [];

if (address) {
if (_isChainEvmCompatible(chainInfo)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if this condition is correct.

return tokenBalanceSlugs;
}

public async getSubstrateTokensBalanceByChain (address: string, chainSlug: string, assetsByChain: Record<string, _ChainAsset>): Promise<string[]> {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should merge these two function getEvmTokensBalanceByChain, getSubstrateTokensBalanceByChain with evmDetectBalanceChain, substrateDetectBalanceToken because of same logic.

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.

Extension - Improve token enabling(Round 2)

4 participants