Updated on 2026-08-14
This commit is contained in:
parent
78c4581372
commit
3069b8d32d
23 changed files with 287 additions and 20 deletions
|
|
@ -15,6 +15,7 @@ import com.tangem.datasource.local.datastore.RuntimeSharedStore
|
|||
import com.tangem.datasource.utils.MoshiDataStoreSerializer
|
||||
import com.tangem.datasource.utils.mapWithStringKeyTypes
|
||||
import com.tangem.domain.quotes.GetCurrencyUSDQuoteUseCase
|
||||
import com.tangem.domain.quotes.IsHighNetworkFeeUseCase
|
||||
import com.tangem.domain.quotes.QuotesRepository
|
||||
import com.tangem.domain.quotes.multi.MultiQuoteStatusFetcher
|
||||
import com.tangem.domain.quotes.multi.MultiQuoteUpdater
|
||||
|
|
@ -79,4 +80,12 @@ internal object QuotesDataModule {
|
|||
fun provideGetCurrencyUSDQuoteUseCase(quotesRepository: QuotesRepository): GetCurrencyUSDQuoteUseCase {
|
||||
return GetCurrencyUSDQuoteUseCase(quotesRepository)
|
||||
}
|
||||
|
||||
@Singleton
|
||||
@Provides
|
||||
fun provideIsHighNetworkFeeUseCase(
|
||||
getCurrencyUSDQuoteUseCase: GetCurrencyUSDQuoteUseCase,
|
||||
): IsHighNetworkFeeUseCase {
|
||||
return IsHighNetworkFeeUseCase(getCurrencyUSDQuoteUseCase)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue