case class DLCExecutor(signer: DLCTxSigner) extends Product with Serializable
Responsible for constructing SetupDLCs and DLCOutcomes
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCExecutor
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DLCExecutor(signer: DLCTxSigner)
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
- val builder: DLCTxBuilder
- 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 executeDLC(dlcSetup: SetupDLC, oracleSigs: Vector[OracleSignatures]): ExecutedDLCOutcome
Computes closing transactions from a DLCSetup and a set of OracleSignatures.
Computes closing transactions from a DLCSetup and a set of OracleSignatures. The Vector[OracleSignatures] may contain more OracleSignatures than are needed.
TODO: Test over-sharing of OracleSignatures
- def executeRefundDLC(refundSig: PartialSignature[ECDigitalSignature]): RefundDLCOutcome
- def executeRefundDLC(dlcSetup: SetupDLC): RefundDLCOutcome
- 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()
- def getPayout(sigs: Vector[OracleSignatures]): CurrencyUnit
Return's this party's payout for a given oracle signature
- val isInitiator: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- def setupDLC(cetSigs: CETSignatures, refundSig: PartialSignature[ECDigitalSignature], fundingSigsOpt: Option[FundingSignatures], cetsOpt: Option[Vector[WitnessTransaction]]): Try[SetupDLC]
Constructs a SetupDLC given the necessary signature information from the counter-party.
- def setupDLCAccept(cetSigs: CETSignatures, refundSig: PartialSignature[ECDigitalSignature], fundingSigs: FundingSignatures, cetsOpt: Option[Vector[WitnessTransaction]]): Try[SetupDLC]
Constructs the non-initiator's SetupDLC given the initiator's CETSignatures and FundingSignatures which should arrive in a DLC sign message
- def setupDLCOffer(cetSigs: CETSignatures, refundSig: PartialSignature[ECDigitalSignature]): Try[SetupDLC]
Constructs the initiator's SetupDLC given the non-initiator's CETSignatures which should arrive in a DLC accept message
- val signer: DLCTxSigner
- 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()