Packages

object DLCTxBuilder extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCTxBuilder
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 buildCET(adaptorPoint: Indexed[ECPublicKey], contractInfo: ContractInfo, offerFundingKey: ECPublicKey, offerFinalSPK: ScriptPubKey, offerSerialId: UInt64, acceptFundingKey: ECPublicKey, acceptFinalSPK: ScriptPubKey, acceptSerialId: UInt64, timeouts: DLCTimeouts, fundingOutputRef: OutputReference): WitnessTransaction
  6. def buildCETs(adaptorPoints: Vector[Indexed[ECPublicKey]], contractInfo: ContractInfo, offerFundingKey: ECPublicKey, offerFinalSPK: ScriptPubKey, offerSerialId: UInt64, acceptFundingKey: ECPublicKey, acceptFinalSPK: ScriptPubKey, acceptSerialId: UInt64, timeouts: DLCTimeouts, fundingTx: Transaction, fundOutputIndex: Int): Vector[AdaptorPointCETPair]
  7. def buildCETs(adaptorPoints: Vector[Indexed[ECPublicKey]], contractInfo: ContractInfo, offerFundingKey: ECPublicKey, offerFinalSPK: ScriptPubKey, offerSerialId: UInt64, acceptFundingKey: ECPublicKey, acceptFinalSPK: ScriptPubKey, acceptSerialId: UInt64, timeouts: DLCTimeouts, fundingOutputRef: OutputReference): Vector[AdaptorPointCETPair]
  8. def buildFundingSPKs(fundingPubKeys: Vector[ECPublicKey]): (MultiSignatureScriptPubKey, P2WSHWitnessSPKV0)
  9. def buildFundingTransaction(offerInput: CurrencyUnit, acceptInput: CurrencyUnit, offerFundingInputs: Vector[DLCFundingInput], acceptFundingInputs: Vector[DLCFundingInput], offerChangeSPK: ScriptPubKey, offerChangeSerialId: UInt64, acceptChangeSPK: ScriptPubKey, acceptChangeSerialId: UInt64, fundingSPK: P2WSHWitnessSPKV0, fundOutputSerialId: UInt64, finalizer: DualFundingTxFinalizer): (Transaction, Int)

    Builds the funding transaction for a DLC

    Builds the funding transaction for a DLC

    returns

    the transaction and the output index of the funding output

  10. def buildFundingTxFinalizer(offerFundingInputs: Vector[DLCFundingInput], acceptFundingInputs: Vector[DLCFundingInput], offerChangeSPK: ScriptPubKey, acceptChangeSPK: ScriptPubKey, offerPayoutSPK: ScriptPubKey, acceptPayoutSPK: ScriptPubKey, feeRate: SatoshisPerVirtualByte, fundingSPK: P2WSHWitnessSPKV0): DualFundingTxFinalizer
  11. def buildRefundTx(offerInput: CurrencyUnit, offerFundingKey: ECPublicKey, offerFinalSPK: ScriptPubKey, offerSerialId: UInt64, acceptInput: CurrencyUnit, acceptFundingKey: ECPublicKey, acceptFinalSPK: ScriptPubKey, acceptSerialId: UInt64, fundingTx: Transaction, fundOutputIndex: Int, timeouts: DLCTimeouts): WitnessTransaction
  12. def buildRefundTx(offerInput: CurrencyUnit, offerFundingKey: ECPublicKey, offerFinalSPK: ScriptPubKey, offerSerialId: UInt64, acceptInput: CurrencyUnit, acceptFundingKey: ECPublicKey, acceptFinalSPK: ScriptPubKey, acceptSerialId: UInt64, fundingOutputRef: OutputReference, timeouts: DLCTimeouts): WitnessTransaction
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def sortAndFilterOutputs(outputsWithSerialId: Vector[(TransactionOutput, UInt64)]): Vector[TransactionOutput]
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped