Updated on 2026-08-14
This commit is contained in:
parent
5da271e45b
commit
5cd0d0b878
7 changed files with 117 additions and 2 deletions
|
|
@ -1,8 +1,6 @@
|
|||
package com.tangem.tap.di.domain
|
||||
|
||||
import com.tangem.domain.card.repository.DerivationsRepository
|
||||
import com.tangem.domain.managetokens.SaveManagedTokensUseCase
|
||||
import com.tangem.domain.managetokens.GetManagedTokensUseCase
|
||||
import com.tangem.domain.managetokens.*
|
||||
import com.tangem.domain.managetokens.repository.CustomTokensRepository
|
||||
import com.tangem.domain.managetokens.repository.ManageTokensRepository
|
||||
|
|
@ -67,4 +65,20 @@ internal object ManageTokensDomainModule {
|
|||
derivationsRepository = derivationsRepository,
|
||||
)
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
fun provideGetSupportedNetworksUseCase(
|
||||
customTokensRepository: CustomTokensRepository,
|
||||
): GetSupportedNetworksUseCase {
|
||||
return GetSupportedNetworksUseCase(customTokensRepository)
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
fun provideValidateDerivationPathUseCase(
|
||||
customTokensRepository: CustomTokensRepository,
|
||||
): ValidateDerivationPathUseCase {
|
||||
return ValidateDerivationPathUseCase(customTokensRepository)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue