case class DLCTxSigner(builder: DLCTxBuilder, isInitiator: Boolean, fundingKey: AdaptorSign, finalAddress: BitcoinAddress, fundingUtxos: Vector[ScriptSignatureParams[InputInfo]]) extends Product with Serializable
Responsible for constructing all DLC signatures and signed transactions
- Alphabetic
- By Inheritance
- DLCTxSigner
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DLCTxSigner(builder: DLCTxBuilder, isInitiator: Boolean, fundingKey: AdaptorSign, finalAddress: BitcoinAddress, fundingUtxos: Vector[ScriptSignatureParams[InputInfo]])
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 buildAndSignCETs(adaptorPoints: Vector[Indexed[ECPublicKey]]): Vector[(ECPublicKey, WitnessTransaction, ECAdaptorSignature)]
Signs remote's Contract Execution Transaction (CET) for a given outcomes
- val builder: DLCTxBuilder
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def completeCET(outcome: OracleOutcome, remoteAdaptorSig: ECAdaptorSignature, oracleSigs: Vector[OracleSignatures]): WitnessTransaction
- def completeFundingTx(remoteSigs: FundingSignatures): Try[Transaction]
Constructs the signed DLC funding transaction given remote FundingSignatures
- def completeRefundTx(remoteSig: PartialSignature[ECDigitalSignature]): WitnessTransaction
Constructs the signed refund transaction given remote's signature
- def createCETSigs(outcomesAndCETs: Vector[AdaptorPointCETPair]): CETSignatures
Creates this party's CETSignatures given the outcomes and their unsigned CETs
- def createCETSigs(): CETSignatures
Creates all of this party's CETSignatures
- def createCETSigsAsync()(implicit ec: ExecutionContext): Future[CETSignatures]
Creates CET signatures async
- def createCETsAndCETSigs(): (CETSignatures, Vector[WitnessTransaction])
Creates all of this party's CETSignatures
- def createCETsAndCETSigsAsync()(implicit ec: ExecutionContext): Future[(CETSignatures, Vector[WitnessTransaction])]
The equivalent of createCETsAndCETSigs() but async
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val finalAddress: BitcoinAddress
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val fundingKey: AdaptorSign
- val fundingUtxos: Vector[ScriptSignatureParams[InputInfo]]
- 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 signCET(adaptorPoint: ECPublicKey, index: Int): ECAdaptorSignature
Signs remote's Contract Execution Transaction (CET) for a given outcome
- def signCETs(adaptorPoints: Vector[Indexed[ECPublicKey]]): Vector[(ECPublicKey, ECAdaptorSignature)]
Signs remote's Contract Execution Transaction (CET) for a given outcomes
- def signFundingTx(): Try[FundingSignatures]
Creates this party's FundingSignatures
- def signGivenCETs(outcomesAndCETs: Vector[AdaptorPointCETPair]): Vector[(ECPublicKey, ECAdaptorSignature)]
Signs remote's Contract Execution Transaction (CET) for a given outcomes and their corresponding CETs
- lazy val signRefundTx: PartialSignature[ECDigitalSignature]
Creates this party's signature of the refund transaction
- 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()