Updated on 2026-08-14
This commit is contained in:
parent
59117bf97c
commit
1b33e6b02e
5 changed files with 389 additions and 1 deletions
|
|
@ -0,0 +1,24 @@
|
|||
package com.tangem.domain.networks.repository
|
||||
|
||||
import com.tangem.domain.tokens.model.CryptoCurrencyAddress
|
||||
import com.tangem.domain.tokens.model.Network
|
||||
import com.tangem.domain.wallets.models.UserWalletId
|
||||
|
||||
/**
|
||||
* Repository for working with pending transactions
|
||||
*
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
interface NetworksRepository {
|
||||
|
||||
/** Fetches pending transactions for given [network] in selected [userWalletId] */
|
||||
suspend fun fetchPendingTransactions(userWalletId: UserWalletId, network: Network)
|
||||
|
||||
/**
|
||||
* Returns addresses and crypto currency
|
||||
*
|
||||
* @param userWalletId the unique identifier of the user wallet
|
||||
* @param network network
|
||||
*/
|
||||
suspend fun getNetworkAddresses(userWalletId: UserWalletId, network: Network): List<CryptoCurrencyAddress>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue