You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
464 B
14 lines
464 B
package com.xsn.explorer.models
|
|
|
|
import enumeratum._
|
|
|
|
sealed abstract class BlockExtractionMethod(override val entryName: String) extends EnumEntry
|
|
|
|
object BlockExtractionMethod extends Enum[BlockExtractionMethod] {
|
|
|
|
val values = findValues
|
|
|
|
final case object ProofOfWork extends BlockExtractionMethod("PoW")
|
|
final case object ProofOfStake extends BlockExtractionMethod("PoS")
|
|
final case object TrustlessProofOfStake extends BlockExtractionMethod("TPoS")
|
|
}
|