c
org.bitcoins.core.protocol.dlc.models
DLCHyperbolaPayoutCurvePiece
Companion object DLCHyperbolaPayoutCurvePiece
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
Linear Supertypes
Ordering
- Alphabetic
 - By Inheritance
 
Inherited
- DLCHyperbolaPayoutCurvePiece
 - Serializable
 - Product
 - Equals
 - DLCPayoutCurvePiece
 - TLVSerializable
 - NetworkElement
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
Visibility
- Public
 - Protected
 
Instance Constructors
-  new DLCHyperbolaPayoutCurvePiece(usePositivePiece: Boolean, translateOutcome: BigDecimal, translatePayout: BigDecimal, a: BigDecimal, b: BigDecimal, c: BigDecimal, d: BigDecimal, leftEndpoint: OutcomePayoutPoint, rightEndpoint: OutcomePayoutPoint)
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -  val a: BigDecimal
 -    def apply(outcome: Long): Satoshis
- Definition Classes
 - DLCHyperbolaPayoutCurvePiece → DLCPayoutCurvePiece
 
 -    def apply(outcome: Long, rounding: RoundingIntervals, totalCollateral: Satoshis): Satoshis
- Definition Classes
 - DLCPayoutCurvePiece
 
 -    def apply(outcome: Long, rounding: RoundingIntervals): Satoshis
- Definition Classes
 - DLCPayoutCurvePiece
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -  val b: BigDecimal
 -    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
 
 -    def byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
 - NetworkElement
 
 -    def bytes: ByteVector
The byte representation of the NetworkElement
The byte representation of the NetworkElement
- Definition Classes
 - TLVSerializable → NetworkElement
 
 -    def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
 - NetworkElement
 
 -  val c: BigDecimal
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
 -  val d: BigDecimal
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable])
 
 -    def flip(totalCollateral: Satoshis): DLCHyperbolaPayoutCurvePiece
- Definition Classes
 - DLCHyperbolaPayoutCurvePiece → DLCPayoutCurvePiece
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -    def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
 - NetworkElement
 
 -    def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
 - NetworkElement
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -    val leftEndpoint: OutcomePayoutPoint
- Definition Classes
 - DLCHyperbolaPayoutCurvePiece → DLCPayoutCurvePiece
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -    def productElementNames: Iterator[String]
- Definition Classes
 - Product
 
 -    val rightEndpoint: OutcomePayoutPoint
- Definition Classes
 - DLCHyperbolaPayoutCurvePiece → DLCPayoutCurvePiece
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toTLV: HyperbolaPayoutCurvePieceTLV
- Definition Classes
 - DLCHyperbolaPayoutCurvePiece → TLVSerializable
 
 -  val translateOutcome: BigDecimal
 -  val translatePayout: BigDecimal
 -  val usePositivePiece: Boolean
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()