Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-10 11:51:40 +04:00
parent eef5e02b3e
commit 8d5c9e0e58
11 changed files with 448 additions and 31 deletions

View file

@ -10,5 +10,14 @@ import com.tangem.domain.tokens.model.CryptoCurrency
*/
interface MultiQuoteFetcher : FlowFetcher<MultiQuoteFetcher.Params> {
data class Params(val currenciesIds: Set<CryptoCurrency.RawID>)
/**
* Params
*
* @property currenciesIds identifiers of currencies
* @property appCurrencyId app currency id, if null then selected app currency will be used
*/
data class Params(
val currenciesIds: Set<CryptoCurrency.RawID>,
val appCurrencyId: String?,
)
}

View file

@ -0,0 +1,15 @@
package com.tangem.domain.quotes.multi
/**
* Updater of quotes
*
[REDACTED_AUTHOR]
*/
interface MultiQuoteUpdater {
/** Subscribe */
fun subscribe()
/** Unsubscribe */
fun unsubscribe()
}