Skip to content

Commit

Permalink
Explorer as enum
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi committed Jan 14, 2022
1 parent 5952800 commit e07d0bd
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit e07d0bd

Please sign in to comment.