Updated on 2026-08-14
This commit is contained in:
parent
ded9de148c
commit
377f2cd6fd
8 changed files with 406 additions and 1 deletions
|
|
@ -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>)
|
||||
}
|
||||
|
|
@ -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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue