Updated on 2026-08-14

This commit is contained in:
Tangem 2026-04-15 14:55:01 +04:00
parent 304e6d0c5c
commit 58259ab372
4 changed files with 10 additions and 1 deletions

View file

@ -25,6 +25,7 @@ internal class WalletManagerFactoryCreator @Inject constructor(
private val blockchainSDKLogger: BlockchainSDKLogger,
private val isSolanaTxHistoryEnabled: Boolean,
private val isSolanaScaledUiAmountEnabled: Boolean,
private val isHederaErc20Enabled: Boolean,
) {
fun create(config: BlockchainSdkConfig, blockchainProviderTypes: BlockchainProviderTypes): WalletManagerFactory {
@ -39,6 +40,7 @@ internal class WalletManagerFactoryCreator @Inject constructor(
isPendingTransactionsEnabled = true,
isSolanaTxHistoryEnabled = isSolanaTxHistoryEnabled,
isSolanaScaledUiAmountEnabled = isSolanaScaledUiAmountEnabled,
isHederaErc20Enabled = isHederaErc20Enabled,
),
blockchainDataStorage = blockchainDataStorage,
loggers = listOf(blockchainSDKLogger),

View file

@ -103,6 +103,9 @@ internal object BlockchainSDKFactoryModule {
isSolanaScaledUiAmountEnabled = featureTogglesManager.isFeatureEnabled(
FeatureToggles.SOLANA_SCALED_UI_AMOUNT_ENABLED,
),
isHederaErc20Enabled = featureTogglesManager.isFeatureEnabled(
FeatureToggles.HEDERA_ERC20_ENABLED,
),
)
}
}