mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Explorer as enum
This commit is contained in:
parent
5952800a9e
commit
e07d0bd635
|
@ -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
|
||||
)
|
Loading…
Reference in New Issue
Block a user