Updated on 2026-08-14

This commit is contained in:
Tangem 2026-02-11 12:43:15 +03:00
parent 0ae9e75e90
commit bbce67bcd2
12 changed files with 68 additions and 11 deletions

View file

@ -22,6 +22,7 @@ data class MarketsListItemUM(
val isUnder100kMarketCap: Boolean,
val stakingRate: TextReference?,
val updateTimestamp: Long?,
val networks: List<Network>? = null,
) {
val chartType: MarketChartLook.Type = when (trendType) {
PriceChangeType.UP -> MarketChartLook.Type.Growing
@ -29,6 +30,13 @@ data class MarketsListItemUM(
PriceChangeType.NEUTRAL -> MarketChartLook.Type.Neutral
}
@Immutable
data class Network(
val networkId: String,
val contractAddress: String?,
val decimalCount: Int?,
)
@Immutable
data class Price(
val text: String,