Updated on 2026-08-14
This commit is contained in:
parent
eef5e02b3e
commit
8d5c9e0e58
11 changed files with 448 additions and 31 deletions
|
|
@ -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?,
|
||||
)
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
package com.tangem.domain.quotes.multi
|
||||
|
||||
/**
|
||||
* Updater of quotes
|
||||
*
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
interface MultiQuoteUpdater {
|
||||
|
||||
/** Subscribe */
|
||||
fun subscribe()
|
||||
|
||||
/** Unsubscribe */
|
||||
fun unsubscribe()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue