Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-09 16:00:52 +07:00
parent 60b76fb8fd
commit 98b8c6b58e
10 changed files with 706 additions and 0 deletions

View file

@ -0,0 +1,21 @@
package com.tangem.domain.markets
import com.tangem.domain.markets.repositories.MarketsTokenRepository
import com.tangem.domain.models.currency.CryptoCurrency
import com.tangem.domain.models.wallet.UserWalletId
class GetTokenMarketCryptoCurrency(
private val marketsTokenRepository: MarketsTokenRepository,
) {
suspend operator fun invoke(
userWalletId: UserWalletId,
tokenMarketParams: TokenMarketParams,
network: TokenMarketInfo.Network,
): CryptoCurrency? {
return marketsTokenRepository.createCryptoCurrency(
userWalletId = userWalletId,
token = tokenMarketParams,
network = network,
)
}
}