Updated on 2026-08-14

This commit is contained in:
Tangem 2026-01-26 18:10:18 +02:00
parent 54e612cf30
commit c3030d93c9
8 changed files with 43 additions and 8 deletions

View file

@ -109,6 +109,7 @@ enum class BalanceType(val order: Int) {
@Serializable
sealed interface RewardBlockType {
data object NoRewards : RewardBlockType
data object CardanoNoRewards : RewardBlockType
data object Rewards : RewardBlockType
data object RewardsRequirementsError : RewardBlockType
data object EthereumEarnedRewards : RewardBlockType
@ -125,6 +126,7 @@ sealed interface RewardBlockType {
val isActionable: Boolean
get() = when (this) {
is NoRewards,
is CardanoNoRewards,
is RewardUnavailable,
is EthereumEarnedRewards,
-> false