Packages

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCTxSigner
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DLCTxSigner(builder: DLCTxBuilder, isInitiator: Boolean, fundingKey: AdaptorSign, finalAddress: BitcoinAddress, fundingUtxos: Vector[ScriptSignatureParams[InputInfo]])

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 buildAndSignCETs(adaptorPoints: Vector[Indexed[ECPublicKey]]): Vector[(ECPublicKey, WitnessTransaction, ECAdaptorSignature)]

    Signs remote's Contract Execution Transaction (CET) for a given outcomes

  6. val builder: DLCTxBuilder
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def completeCET(outcome: OracleOutcome, remoteAdaptorSig: ECAdaptorSignature, oracleSigs: Vector[OracleSignatures]): WitnessTransaction
  9. def completeFundingTx(remoteSigs: FundingSignatures): Try[Transaction]

    Constructs the signed DLC funding transaction given remote FundingSignatures

  10. def completeRefundTx(remoteSig: PartialSignature): WitnessTransaction

    Constructs the signed refund transaction given remote's signature

  11. def createCETSigs(outcomesAndCETs: Vector[AdaptorPointCETPair]): CETSignatures

    Creates this party's CETSignatures given the outcomes and their unsigned CETs

  12. def createCETSigs(): CETSignatures

    Creates all of this party's CETSignatures

  13. def createCETSigsAsync()(implicit ec: ExecutionContext): Future[CETSignatures]

    Creates CET signatures async

  14. def createCETsAndCETSigs(): (CETSignatures, Vector[WitnessTransaction])

    Creates all of this party's CETSignatures

  15. def createCETsAndCETSigsAsync()(implicit ec: ExecutionContext): Future[(CETSignatures, Vector[WitnessTransaction])]

    The equivalent of createCETsAndCETSigs() but async

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val finalAddress: BitcoinAddress
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. val fundingKey: AdaptorSign
  20. val fundingUtxos: Vector[ScriptSignatureParams[InputInfo]]
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getPayout(sigs: Vector[OracleSignatures]): CurrencyUnit

    Return's this party's payout for a given oracle signature

  23. val isInitiator: Boolean
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  29. def signCET(adaptorPoint: ECPublicKey, index: Int): ECAdaptorSignature

    Signs remote's Contract Execution Transaction (CET) for a given outcome

  30. def signCETs(adaptorPoints: Vector[Indexed[ECPublicKey]]): Vector[(ECPublicKey, ECAdaptorSignature)]

    Signs remote's Contract Execution Transaction (CET) for a given outcomes

  31. def signFundingTx(): Try[FundingSignatures]

    Creates this party's FundingSignatures

  32. def signGivenCETs(outcomesAndCETs: Vector[AdaptorPointCETPair]): Vector[(ECPublicKey, ECAdaptorSignature)]

    Signs remote's Contract Execution Transaction (CET) for a given outcomes and their corresponding CETs

  33. lazy val signRefundTx: PartialSignature

    Creates this party's signature of the refund transaction

  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. 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 AnyRef

Inherited from Any

Ungrouped