Updated on 2026-08-14
This commit is contained in:
parent
5c4f10f90e
commit
2cf60002a4
8 changed files with 61 additions and 11 deletions
|
|
@ -53,7 +53,7 @@ data class Yield(
|
|||
@Serializable
|
||||
data class Validator(
|
||||
val address: String,
|
||||
val status: String,
|
||||
val status: ValidatorStatus,
|
||||
val name: String,
|
||||
val image: String? = null,
|
||||
val website: String? = null,
|
||||
|
|
@ -62,7 +62,16 @@ data class Yield(
|
|||
val stakedBalance: String? = null,
|
||||
val votingPower: Double? = null,
|
||||
val preferred: Boolean,
|
||||
)
|
||||
) {
|
||||
|
||||
enum class ValidatorStatus {
|
||||
ACTIVE,
|
||||
DEACTIVATING,
|
||||
INACTIVE,
|
||||
JAILED,
|
||||
UNKNOWN,
|
||||
}
|
||||
}
|
||||
|
||||
@Serializable
|
||||
data class Metadata(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue