From e07d0bd635312f34bb01f70eb06a577b42e6af90 Mon Sep 17 00:00:00 2001 From: ligi Date: Fri, 14 Jan 2022 20:37:26 +0100 Subject: [PATCH] Explorer as enum --- .../kotlin/org/ethereum/lists/chains/model/Explorer.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/model/src/main/kotlin/org/ethereum/lists/chains/model/Explorer.kt b/model/src/main/kotlin/org/ethereum/lists/chains/model/Explorer.kt index 0da3eba7..2e0d3362 100644 --- a/model/src/main/kotlin/org/ethereum/lists/chains/model/Explorer.kt +++ b/model/src/main/kotlin/org/ethereum/lists/chains/model/Explorer.kt @@ -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 ) \ No newline at end of file