Packages

case class EnumEventDescriptorV0TLV(outcomes: Vector[NormalizedString]) extends EventDescriptorTLV with Product with Serializable

Describes an event over an enumerated set of outcomes

outcomes

The set of possible outcomes

See also

https://github.com/discreetlogcontracts/dlcspecs/blob/master/Oracle.md#simple-enumeration

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EnumEventDescriptorV0TLV
  2. Serializable
  3. Product
  4. Equals
  5. EventDescriptorTLV
  6. DLCOracleTLV
  7. TLV
  8. TLVUtil
  9. NetworkElement
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EnumEventDescriptorV0TLV(outcomes: Vector[NormalizedString])

    outcomes

    The set of possible outcomes

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bigSizePrefix(bytes: ByteVector): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  6. def bigSizePrefixedList[T <: NetworkElement](vec: Vector[T]): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  7. def bigSizePrefixedList[T](vec: Vector[T], serialize: (T) => ByteVector): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  8. def boolBytes(bool: Boolean): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  9. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  10. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    TLVNetworkElement
  11. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  17. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def length: BigSizeUInt
    Definition Classes
    TLV
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def noncesNeeded: Int
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val outcomes: Vector[NormalizedString]
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. def satBytes(sats: Satoshis): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  27. def sha256: Sha256Digest
    Definition Classes
    TLV
  28. def signingVersion: SigningVersion

    Event descriptors all use the same signing version as of now.

    Event descriptors all use the same signing version as of now.

    Definition Classes
    EventDescriptorTLV
    See also

    https://github.com/discreetlogcontracts/dlcspecs/pull/113

  29. def strBytes(str: NormalizedString): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def tpe: BigSizeUInt
    Definition Classes
    EnumEventDescriptorV0TLVTLV
  32. def typeName: String
    Definition Classes
    TLV
  33. def u16Prefix(bytes: ByteVector): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  34. def u16PrefixedList[T <: NetworkElement](vec: Vector[T]): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  35. def u16PrefixedList[T](vec: Vector[T], serialize: (T) => ByteVector): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  36. val value: ByteVector
    Definition Classes
    EnumEventDescriptorV0TLVTLV
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from EventDescriptorTLV

Inherited from DLCOracleTLV

Inherited from TLV

Inherited from TLVUtil

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped