Packages

case class PayoutFunctionV0TLV(endpoints: OrderedTLVPoints, pieces: Vector[PayoutCurvePieceTLV], serializationVersion: DLCSerializationVersion) extends DLCSetupPieceTLV with Product with Serializable

See also

https://github.com/discreetlogcontracts/dlcspecs/blob/8ee4bbe816c9881c832b1ce320b9f14c72e3506f/NumericOutcome.md#curve-serialization

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

Instance Constructors

  1. new PayoutFunctionV0TLV(endpoints: OrderedTLVPoints, pieces: Vector[PayoutCurvePieceTLV], serializationVersion: DLCSerializationVersion)

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. val byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    PayoutFunctionV0TLVNetworkElement
  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. val endpoints: OrderedTLVPoints
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  18. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def length: BigSizeUInt
    Definition Classes
    TLV
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val pieces: Vector[PayoutCurvePieceTLV]
  25. def piecewisePolynomialEndpoints: Vector[PiecewisePolynomialEndpoint]
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def satBytes(sats: Satoshis): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  28. val serializationVersion: DLCSerializationVersion
  29. def sha256: Sha256Digest
    Definition Classes
    TLV
  30. def strBytes(str: NormalizedString): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. val tpe: BigSizeUInt
    Definition Classes
    PayoutFunctionV0TLVTLV
  33. def typeName: String
    Definition Classes
    TLV
  34. def u16Prefix(bytes: ByteVector): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  35. def u16PrefixedList[T <: NetworkElement](vec: Vector[T]): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  36. def u16PrefixedList[T](vec: Vector[T], serialize: (T) => ByteVector): ByteVector
    Attributes
    protected
    Definition Classes
    TLVUtil
  37. val value: ByteVector
    Definition Classes
    PayoutFunctionV0TLVTLV
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. 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 DLCSetupPieceTLV

Inherited from TLV

Inherited from TLVUtil

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped