case class DLCPayoutCurve(points: Vector[OutcomePayoutPoint]) extends Product with Serializable

A DLC payout curve defined by piecewise interpolating points

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

Instance Constructors

  1. new DLCPayoutCurve(points: Vector[OutcomePayoutPoint])

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def componentFor(outcome: Long): Indexed[DLCPayoutCurvePiece]

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

  10. lazy val endpoints: Vector[Indexed[OutcomePayoutPoint]]

    These points (and their indices in this.points) represent the endpoints between which interpolation happens.

    These points (and their indices in this.points) represent the endpoints between which interpolation happens. In other words these endpoints define the pieces of the piecewise function.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. lazy val functionComponents: Vector[DLCPayoutCurvePiece]

    This Vector contains the function pieces between the endpoints

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getPayout(outcome: Long, rounding: RoundingIntervals, totalCollateral: Satoshis): Satoshis
  16. def getPayout(outcome: Long, rounding: RoundingIntervals): Satoshis
  17. def getPayout(outcome: Long): Satoshis
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val points: Vector[OutcomePayoutPoint]
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toTLV: PayoutFunctionV0TLV
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. 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 AnyRef

Inherited from Any

Ungrouped