case class DLCDataManagement(dlcWalletDAOs: DLCWalletDAOs)(implicit ec: ExecutionContext) extends BitcoinSLogger with Product with Serializable
Handles fetching and constructing different DLC datastructures from the database
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCDataManagement
- Serializable
- Product
- Equals
- BitcoinSLogger
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DLCDataManagement(dlcWalletDAOs: DLCWalletDAOs)(implicit ec: ExecutionContext)
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()
- def deleteByDLCId(dlcId: Sha256Digest): Future[Unit]
- val dlcDAO: DLCDAO
- val dlcWalletDAOs: DLCWalletDAOs
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def executorAndSetupFromDb(dlcDb: DLCDb, refundSigsDb: DLCRefundSigsDb, fundingInputs: Vector[DLCFundingInputDb], outcomeSigsDbs: Vector[DLCCETSignaturesDb], transactionDAO: TransactionDAO, fundingUtxoScriptSigParams: Vector[ScriptSignatureParams[InputInfo]], keyManager: BIP39KeyManager): Future[Option[DLCExecutorWithSetup]]
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getCetAndRefundSigs(dlcId: Sha256Digest): Future[(Vector[DLCCETSignaturesDb], Option[DLCRefundSigsDb])]
- def getCetAndRefundSigsAction(dlcId: Sha256Digest): DBIOAction[(Vector[DLCCETSignaturesDb], Option[DLCRefundSigsDb]), NoStream, Read]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOfferAndAcceptWithoutSigs(dlcId: Sha256Digest, txDAO: TransactionDAO): Future[Option[SetupCompleteDLCDbState]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()