Aller au contenu

RewardTier

Ce contenu n’est pas encore disponible dans votre langue.

sealed class RewardTier

One band of a tiered reward. Null maxValue means no upper bound (not a sentinel).

Amount
Percentage
Unknown
NameSummary
Amountclass Amount(val minValue: Double, val maxValue: Double?, val amount: TokenAmount) : RewardTier
Percentageclass Percentage(val minValue: Double, val maxValue: Double?, val percent: Double) : RewardTier
Unknownclass Unknown(val minValue: Double, val maxValue: Double?) : RewardTier
A tier shape this build does not know, kept so one unrecognised band cannot fail the whole reward. Mirrors EstimatedReward.Unknown; the bounds are the fields every tier carries.
NameSummary
maxValueabstract val maxValue: Double?
minValueabstract val minValue: Double