TokenAmount
Ce contenu n’est pas encore disponible dans votre langue.
class TokenAmount(val amount: Double, val eurAmount: Double, val usdAmount: Double, val gbpAmount: Double)
A reward amount in raw token units and each fiat currency the backend prices.
Constructors
Section titled “Constructors”| TokenAmount | constructor(amount: Double, eurAmount: Double, usdAmount: Double, gbpAmount: Double) |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| amount | val amount: Double Non-zero even when every fiat field is zero (fiat is 0 when unpriced, not worthless). |
| eurAmount | val eurAmount: Double |
| gbpAmount | val gbpAmount: Double |
| usdAmount | val usdAmount: Double |
Functions
Section titled “Functions”| Name | Summary |
|---|---|
| equals | open operator override fun equals(other: Any?): Boolean |
| hashCode | open override fun hashCode(): Int |
| toString | open override fun toString(): String |