Updated on 2026-08-14

This commit is contained in:
Tangem 2025-06-26 12:56:37 +05:00
parent a66b1bfb14
commit 04c90d11db
5 changed files with 35 additions and 4 deletions

View file

@ -12,7 +12,14 @@ import com.tangem.domain.tokens.model.CryptoCurrencyStatus
data class SwapCurrencies(
val fromGroup: SwapCurrenciesGroup,
val toGroup: SwapCurrenciesGroup,
)
) {
companion object {
val EMPTY = SwapCurrencies(
fromGroup = SwapCurrenciesGroup(emptyList(), emptyList(), false),
toGroup = SwapCurrenciesGroup(emptyList(), emptyList(), false),
)
}
}
/**
* Return swap group depending on [swapDirection]