case class DLCWalletAccounting(myCollateral: CurrencyUnit, theirCollateral: CurrencyUnit, myPayout: CurrencyUnit, theirPayout: CurrencyUnit) extends PayoutAccounting with Product with Serializable
Similar to org.bitcoins.core.dlc.accounting.DLCAccounting, but represents the entire accounting for the wallet
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCWalletAccounting
- Serializable
- Product
- Equals
- PayoutAccounting
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DLCWalletAccounting(myCollateral: CurrencyUnit, theirCollateral: CurrencyUnit, myPayout: CurrencyUnit, theirPayout: CurrencyUnit)
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val myCollateral: CurrencyUnit
- Definition Classes
- DLCWalletAccounting → PayoutAccounting
- val myPayout: CurrencyUnit
- Definition Classes
- DLCWalletAccounting → PayoutAccounting
- 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 pnl: CurrencyUnit
Profit and loss for the DLC
Profit and loss for the DLC
- Definition Classes
- PayoutAccounting
- See also
https://www.investopedia.com/terms/p/plstatement.asp
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def rateOfReturn: BigDecimal
Rate of return for the DLC
Rate of return for the DLC
- Definition Classes
- PayoutAccounting
- See also
https://www.investopedia.com/terms/r/rateofreturn.asp
- def rorPrettyPrint: String
- Definition Classes
- PayoutAccounting
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val theirCollateral: CurrencyUnit
- Definition Classes
- DLCWalletAccounting → PayoutAccounting
- val theirPayout: CurrencyUnit
- Definition Classes
- DLCWalletAccounting → PayoutAccounting
- 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()