Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-09 13:47:13 +04:00
parent 55f731f1c3
commit b89d98aa35
12 changed files with 358 additions and 0 deletions

View file

@ -0,0 +1,20 @@
package com.tangem.domain.networks.utils
import com.tangem.domain.models.currency.CryptoCurrency
import com.tangem.domain.models.wallet.UserWalletId
/**
* Cleans up network-related data for a specific user wallet and a list of cryptocurrencies.
*
[REDACTED_AUTHOR]
*/
interface NetworksCleaner {
/**
* Cleans up network-related data for the given [userWalletId] and list of [currencies].
*
* @param userWalletId The ID of the user wallet for which to clean up data.
* @param currencies The list of cryptocurrencies whose associated network data should be cleaned.
*/
suspend operator fun invoke(userWalletId: UserWalletId, currencies: List<CryptoCurrency>)
}