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).
Inheritors
Section titled “Inheritors”| Amount |
| Percentage |
| Unknown |
| Name | Summary |
|---|---|
| Amount | class Amount(val minValue: Double, val maxValue: Double?, val amount: TokenAmount) : RewardTier |
| Percentage | class Percentage(val minValue: Double, val maxValue: Double?, val percent: Double) : RewardTier |
| Unknown | class 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. |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| maxValue | abstract val maxValue: Double? |
| minValue | abstract val minValue: Double |