Packages

case class DLCHyperbolaPayoutCurvePiece(usePositivePiece: Boolean, translateOutcome: BigDecimal, translatePayout: BigDecimal, a: BigDecimal, b: BigDecimal, c: BigDecimal, d: BigDecimal, leftEndpoint: OutcomePayoutPoint, rightEndpoint: OutcomePayoutPoint) extends DLCPayoutCurvePiece with TLVSerializable[HyperbolaPayoutCurvePieceTLV] with Product with Serializable

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

Instance Constructors

  1. new DLCHyperbolaPayoutCurvePiece(usePositivePiece: Boolean, translateOutcome: BigDecimal, translatePayout: BigDecimal, a: BigDecimal, b: BigDecimal, c: BigDecimal, d: BigDecimal, leftEndpoint: 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. val a: BigDecimal
  5. def apply(outcome: Long): Satoshis
  6. def apply(outcome: Long, rounding: RoundingIntervals, totalCollateral: Satoshis): Satoshis
    Definition Classes
    DLCPayoutCurvePiece
  7. def apply(outcome: Long, rounding: RoundingIntervals): Satoshis
    Definition Classes
    DLCPayoutCurvePiece
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val b: BigDecimal
  10. 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
  11. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  12. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    TLVSerializableNetworkElement
  13. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  14. val c: BigDecimal
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. val d: BigDecimal
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def flip(totalCollateral: Satoshis): DLCHyperbolaPayoutCurvePiece
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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. val leftEndpoint: OutcomePayoutPoint
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  29. val rightEndpoint: OutcomePayoutPoint
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toTLV: HyperbolaPayoutCurvePieceTLV
  32. val translateOutcome: BigDecimal
  33. val translatePayout: BigDecimal
  34. val usePositivePiece: Boolean
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. 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