Packages

c

org.bitcoins.core.protocol.dlc.models

OutcomePayoutCubic

case class OutcomePayoutCubic(leftEndpoint: OutcomePayoutPoint, leftMidpoint: OutcomePayoutPoint, rightMidpoint: OutcomePayoutPoint, rightEndpoint: OutcomePayoutPoint) extends DLCPolynomialPayoutCurvePiece with Product with Serializable

A cubic between left and right endpoints defining a piece of a larger payout curve

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

Instance Constructors

  1. new OutcomePayoutCubic(leftEndpoint: OutcomePayoutPoint, leftMidpoint: OutcomePayoutPoint, rightMidpoint: OutcomePayoutPoint, rightEndpoint: 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): Satoshis
  5. def apply(outcome: Long, rounding: RoundingIntervals, totalCollateral: Satoshis): Satoshis
    Definition Classes
    DLCPayoutCurvePiece
  6. def apply(outcome: Long, rounding: RoundingIntervals): Satoshis
    Definition Classes
    DLCPayoutCurvePiece
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. 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
  9. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  10. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    TLVSerializableNetworkElement
  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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  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 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. val leftEndpoint: OutcomePayoutPoint
  21. val leftMidpoint: OutcomePayoutPoint
  22. lazy val midpoints: Vector[OutcomePayoutPoint]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def points: Vector[OutcomePayoutPoint]
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. val rightEndpoint: OutcomePayoutPoint
  29. val rightMidpoint: OutcomePayoutPoint
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toTLV: PolynomialPayoutCurvePieceTLV
  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 DLCPayoutCurvePiece

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped