Packages

sealed trait DLCPolynomialPayoutCurvePiece extends DLCPayoutCurvePiece with TLVSerializable[PolynomialPayoutCurvePieceTLV]

A single piece of a larger piecewise function defined between left and right endpoints

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCPolynomialPayoutCurvePiece
  2. DLCPayoutCurvePiece
  3. TLVSerializable
  4. NetworkElement
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(outcome: Long): Satoshis
    Definition Classes
    DLCPayoutCurvePiece
  2. abstract def leftEndpoint: OutcomePayoutPoint
    Definition Classes
    DLCPayoutCurvePiece
  3. abstract def midpoints: Vector[OutcomePayoutPoint]
  4. abstract def rightEndpoint: OutcomePayoutPoint
    Definition Classes
    DLCPayoutCurvePiece

Concrete 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
    Definition Classes
    DLCPayoutCurvePiece
  5. def apply(outcome: Long, rounding: RoundingIntervals): Satoshis
    Definition Classes
    DLCPayoutCurvePiece
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bigDecimalSats(bd: BigDecimal): Satoshis

    Returns the largest Long less than or equal to bd (floor function)

    Returns the largest Long less than or equal to bd (floor function)

    Attributes
    protected
    Definition Classes
    DLCPayoutCurvePiece
  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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def flip(totalCollateral: Satoshis): DLCPolynomialPayoutCurvePiece
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  19. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  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. def points: Vector[OutcomePayoutPoint]
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def toTLV: PolynomialPayoutCurvePieceTLV
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from DLCPayoutCurvePiece

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped