Packages

c

org.bitcoins.core.protocol.dlc.models

OutcomePayoutPolynomial

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

A polynomial interpolating points and defining a piece of a larger payout curve

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OutcomePayoutPolynomial
  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 OutcomePayoutPolynomial(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): 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. lazy val coefficients: Vector[BigDecimal]
  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): DLCPolynomialPayoutCurvePiece
  17. final def getClass(): Class[_ <: AnyRef]
    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. lazy val leftEndpoint: 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. val points: Vector[OutcomePayoutPoint]
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. lazy val rightEndpoint: OutcomePayoutPoint
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toTLV: PolynomialPayoutCurvePieceTLV
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. 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