TxoState

org.plasmalabs.indexer.services.TxoState
See theTxoState companion class
object TxoState extends GeneratedEnumCompanion[TxoState]

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[TxoState]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
TxoState.type

Members list

Type members

Classlikes

case object PENDING extends TxoState, Recognized

A transaction is pending that may spend the TXO. This state should only appear in node clients.

A transaction is pending that may spend the TXO. This state should only appear in node clients.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class TxoState
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
PENDING.type
sealed trait Recognized extends TxoState

Attributes

Supertypes
class TxoState
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object PENDING
object SPENT
object UNSPENT
case object SPENT extends TxoState, Recognized

The TxO is spent

The TxO is spent

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class TxoState
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
SPENT.type
case object UNSPENT extends TxoState, Recognized

The TxO is not spent

The TxO is not spent

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class TxoState
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
UNSPENT.type
final case class Unrecognized(unrecognizedValue: Int) extends TxoState, UnrecognizedEnum

Attributes

Supertypes
trait UnrecognizedEnum
class TxoState
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

Attributes

Inherited from:
GeneratedEnumCompanion

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromValue(`__value`: Int): TxoState
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

def scalaDescriptor: EnumDescriptor

Inherited methods

def fromName(name: String): Option[TxoState]

Attributes

Inherited from:
GeneratedEnumCompanion

Concrete fields

lazy val values: Seq[ValueType]

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[TxoState]