Updated on 2026-08-14
This commit is contained in:
parent
0ae9e75e90
commit
bbce67bcd2
12 changed files with 68 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue