Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-16 17:48:11 +03:00
parent 45ab6836ad
commit 5c56f04c38
52 changed files with 228 additions and 72 deletions

View file

@ -10,6 +10,7 @@ import com.tangem.domain.transaction.usecase.ValidateWalletMemoUseCase
import com.tangem.domain.walletmanager.WalletManagersFacade
import com.tangem.domain.wallets.delegate.DefaultUserWalletsSyncDelegate
import com.tangem.domain.wallets.delegate.UserWalletsSyncDelegate
import com.tangem.domain.wallets.derivations.DerivationsRepository
import com.tangem.domain.wallets.hot.HotWalletAccessor
import com.tangem.domain.wallets.legacy.UserWalletsListManager
import com.tangem.domain.wallets.repository.WalletNamesMigrationRepository
@ -435,4 +436,16 @@ internal object WalletsDomainModule {
hotWalletAccessor = hotWalletAccessor,
)
}
@Provides
@Singleton
fun providesColdWalletInteractionNeededUseCase(
derivationsRepository: DerivationsRepository,
getUserWalletUseCase: GetUserWalletUseCase,
): ColdWalletAndHasMissedDerivationsUseCase {
return ColdWalletAndHasMissedDerivationsUseCase(
derivationsRepository = derivationsRepository,
userWalletUseCase = getUserWalletUseCase,
)
}
}