Packages

case class DLCDataManagement(dlcWalletDAOs: DLCWalletDAOs)(implicit ec: ExecutionContext) extends BitcoinSLogger with Product with Serializable

Handles fetching and constructing different DLC datastructures from the database

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCDataManagement
  2. Serializable
  3. Product
  4. Equals
  5. BitcoinSLogger
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DLCDataManagement(dlcWalletDAOs: DLCWalletDAOs)(implicit ec: ExecutionContext)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def deleteByDLCId(dlcId: Sha256Digest): Future[Unit]
  7. val dlcDAO: DLCDAO
  8. val dlcWalletDAOs: DLCWalletDAOs
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def executorAndSetupFromDb(dlcDb: DLCDb, refundSigsDb: DLCRefundSigsDb, fundingInputs: Vector[DLCFundingInputDb], outcomeSigsDbs: Vector[DLCCETSignaturesDb], transactionDAO: TransactionDAO, fundingUtxoScriptSigParams: Vector[ScriptSignatureParams[InputInfo]], keyManager: BIP39KeyManager): Future[Option[DLCExecutorWithSetup]]
  11. def executorAndSetupFromDb(contractId: ByteVector, txDAO: TransactionDAO, fundingUtxoScriptSigParams: Vector[ScriptSignatureParams[InputInfo]], keyManager: BIP39KeyManager): Future[Option[DLCExecutorWithSetup]]

    Builds an DLCExecutor and SetupDLC for a given contract id

    Builds an DLCExecutor and SetupDLC for a given contract id

    returns

    the executor and setup if we still have CET signatures else return None

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def getCetAndRefundSigs(dlcId: Sha256Digest): Future[(Vector[DLCCETSignaturesDb], Option[DLCRefundSigsDb])]
  14. def getCetAndRefundSigsAction(dlcId: Sha256Digest): DBIOAction[(Vector[DLCCETSignaturesDb], Option[DLCRefundSigsDb]), NoStream, Read]
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getOfferAndAcceptWithoutSigs(dlcId: Sha256Digest, txDAO: TransactionDAO): Future[Option[SetupCompleteDLCDbState]]
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def logger: Logger
    Definition Classes
    BitcoinSLogger
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. 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 BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped