Packages

case class DLCPayoutCurve(pieces: OrderedDLCPayoutCurvePieces, serializationVersion: DLCSerializationVersion) extends TLVSerializable[PayoutFunctionV0TLV] with Product with Serializable

A DLC payout curve defined by piecewise interpolating points

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCPayoutCurve
  2. Serializable
  3. Product
  4. Equals
  5. TLVSerializable
  6. NetworkElement
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DLCPayoutCurve(pieces: OrderedDLCPayoutCurvePieces, 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. def apply(outcome: Long, rounding: RoundingIntervals, totalCollateral: Satoshis): Satoshis
  5. def apply(outcome: Long, rounding: RoundingIntervals): Satoshis
  6. def apply(outcome: Long): Satoshis
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  9. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    TLVSerializableNetworkElement
  10. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def componentFor(outcome: Long): Indexed[DLCPayoutCurvePiece]

    Returns the function component on which the given oracle outcome is defined, along with its index

  13. val endpoints: Vector[OutcomePayoutPoint]
  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. def flip(totalCollateral: Satoshis): DLCPayoutCurve
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getPayout(outcome: Long, rounding: RoundingIntervals, totalCollateral: Satoshis): Satoshis
  19. def getPayout(outcome: Long, rounding: RoundingIntervals): Satoshis
  20. def getPayout(outcome: Long): Satoshis
  21. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  22. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. val pieces: OrderedDLCPayoutCurvePieces
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  29. val serializationVersion: DLCSerializationVersion
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toTLV: PayoutFunctionV0TLV
    Definition Classes
    DLCPayoutCurveTLVSerializable
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. 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 NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped