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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PayoutFunctionV0TLV
- Serializable
- Product
- Equals
- DLCSetupPieceTLV
- TLV
- TLVUtil
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PayoutFunctionV0TLV(endpoints: OrderedTLVPoints, pieces: Vector[PayoutCurvePieceTLV], serializationVersion: DLCSerializationVersion)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bigSizePrefix(bytes: ByteVector): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- def bigSizePrefixedList[T <: NetworkElement](vec: Vector[T]): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- def bigSizePrefixedList[T](vec: Vector[T], serialize: (T) => ByteVector): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- def boolBytes(bool: Boolean): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- val byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
- PayoutFunctionV0TLV → NetworkElement
- def bytes: ByteVector
The byte representation of the NetworkElement
The byte representation of the NetworkElement
- Definition Classes
- TLV → NetworkElement
- def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val endpoints: OrderedTLVPoints
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
- NetworkElement
- def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def length: BigSizeUInt
- Definition Classes
- TLV
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pieces: Vector[PayoutCurvePieceTLV]
- def piecewisePolynomialEndpoints: Vector[PiecewisePolynomialEndpoint]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def satBytes(sats: Satoshis): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- val serializationVersion: DLCSerializationVersion
- def sha256: Sha256Digest
- Definition Classes
- TLV
- def strBytes(str: NormalizedString): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tpe: BigSizeUInt
- Definition Classes
- PayoutFunctionV0TLV → TLV
- def typeName: String
- Definition Classes
- TLV
- def u16Prefix(bytes: ByteVector): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- def u16PrefixedList[T <: NetworkElement](vec: Vector[T]): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- def u16PrefixedList[T](vec: Vector[T], serialize: (T) => ByteVector): ByteVector
- Attributes
- protected
- Definition Classes
- TLVUtil
- val value: ByteVector
- Definition Classes
- PayoutFunctionV0TLV → TLV
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()