QuantityDescriptorType

org.plasmalabs.sdk.models.box.QuantityDescriptorType
See theQuantityDescriptorType companion class
object QuantityDescriptorType extends GeneratedEnumCompanion[QuantityDescriptorType]

Attributes

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

Members list

Type members

Classlikes

accumulator means that the token can only be merged with other fungible tokens. Once two tokens are merged they can never be separated and will always share the same UTXO.

accumulator means that the token can only be merged with other fungible tokens. Once two tokens are merged they can never be separated and will always share the same UTXO.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

fractionable means that the token can only be split but not merged with other fungible tokens. Once the token was split it can never be put together again.

fractionable means that the token can only be split but not merged with other fungible tokens. Once the token was split it can never be put together again.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

immutable means that a token can neither be accumulated nor split, it always keeps the same quantity.

immutable means that a token can neither be accumulated nor split, it always keeps the same quantity.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
IMMUTABLE.type

liquid If it is fungible one can fraction it in smaller tokens or merge two smaller tokens to make a bigger one.

liquid If it is fungible one can fraction it in smaller tokens or merge two smaller tokens to make a bigger one.

Attributes

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

Attributes

Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object ACCUMULATOR
object FRACTIONABLE
object IMMUTABLE
object LIQUID
final case class Unrecognized(unrecognizedValue: Int) extends QuantityDescriptorType, UnrecognizedEnum

Attributes

Supertypes
trait UnrecognizedEnum
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): QuantityDescriptorType
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[QuantityDescriptorType]

Attributes

Inherited from:
GeneratedEnumCompanion

Concrete fields

lazy val values: Seq[ValueType]

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[QuantityDescriptorType]