Explorer as enum

This commit is contained in:
ligi 2022-01-14 20:37:26 +01:00
parent 5952800a9e
commit e07d0bd635
No known key found for this signature in database
GPG Key ID: 8E81894010ABF23D

View File

@ -2,9 +2,14 @@ package org.ethereum.lists.chains.model
import com.squareup.moshi.JsonClass
enum class ExplorerStandard {
EIP3091,
none
}
@JsonClass(generateAdapter = true)
data class Explorer(
val name: String,
val url: String,
val standard: String
val standard: ExplorerStandard
)