Series

org.plasmalabs.sdk.models.box.Value.Series
See theSeries companion object
final case class Series(seriesId: SeriesId, quantity: Int128, tokenSupply: Option[Int], quantityDescriptor: QuantityDescriptorType, fungibility: FungibilityType, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Series]

A series constructor token

Value parameters

fungibility

Describes the fungibility of the assets minted using the series constructor token derived from this policy.

quantity

The quantity of series constructor tokens stored in a given UTXO.

quantityDescriptor

Describes the behavior of the quantity field of the assets minted using the series constructor derived from this policy.

seriesId

The ID of this Series. It is the digest of the Series Policy.

tokenSupply

This is an optional field. When provided it fixes the quantity of tokens that will be minted when this series is consumed, and the series constructor is burned by the minting transaction. When not provided, the series constructor is not burned, thus making the token supply unlimited.

Attributes

Companion
object
Graph
Supertypes
trait Updatable[Series]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def companion: Series.type
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
def getTokenSupply: Int
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

def withQuantity(`__v`: Int128): Series
def withTokenSupply(`__v`: Int): Series
def withUnknownFields(`__v`: UnknownFieldSet): Series
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
def update(ms: (Lens[Series, Series]) => () => Series*): Series

Attributes

Inherited from:
Updatable
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage