Updated on 2026-08-14

This commit is contained in:
Tangem 2025-03-31 11:09:21 +04:00
parent ded9de148c
commit 377f2cd6fd
8 changed files with 406 additions and 1 deletions

View file

@ -0,0 +1,15 @@
package com.tangem.domain.networks.multi
import com.tangem.domain.core.flow.FlowFetcher
import com.tangem.domain.tokens.model.Network
import com.tangem.domain.wallets.models.UserWalletId
/**
* Fetcher of network status [Network] for wallet with [UserWalletId]
*
[REDACTED_AUTHOR]
*/
interface MultiNetworkStatusFetcher : FlowFetcher<MultiNetworkStatusFetcher.Params> {
data class Params(val userWalletId: UserWalletId, val networks: Set<Network>)
}

View file

@ -0,0 +1,15 @@
package com.tangem.domain.networks.single
import com.tangem.domain.core.flow.FlowFetcher
import com.tangem.domain.tokens.model.Network
import com.tangem.domain.wallets.models.UserWalletId
/**
* Fetcher of network status [Network] for wallet with [UserWalletId]
*
[REDACTED_AUTHOR]
*/
interface SingleNetworkStatusFetcher : FlowFetcher<SingleNetworkStatusFetcher.Params> {
data class Params(val userWalletId: UserWalletId, val network: Network)
}