object DLCTxBuilder extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCTxBuilder
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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 buildCET(adaptorPoint: Indexed[ECPublicKey], contractInfo: ContractInfo, offerFundingKey: ECPublicKey, offerFinalSPK: ScriptPubKey, offerSerialId: UInt64, acceptFundingKey: ECPublicKey, acceptFinalSPK: ScriptPubKey, acceptSerialId: UInt64, timeouts: DLCTimeouts, fundingOutputRef: OutputReference): WitnessTransaction
- 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]
- 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]
- def buildFundingSPKs(fundingPubKeys: Vector[ECPublicKey]): (MultiSignatureScriptPubKey, P2WSHWitnessSPKV0)
- 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
- def buildFundingTxFinalizer(offerFundingInputs: Vector[DLCFundingInput], acceptFundingInputs: Vector[DLCFundingInput], offerChangeSPK: ScriptPubKey, acceptChangeSPK: ScriptPubKey, offerPayoutSPK: ScriptPubKey, acceptPayoutSPK: ScriptPubKey, feeRate: SatoshisPerVirtualByte, fundingSPK: P2WSHWitnessSPKV0): DualFundingTxFinalizer
- 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
- def buildRefundTx(offerInput: CurrencyUnit, offerFundingKey: ECPublicKey, offerFinalSPK: ScriptPubKey, offerSerialId: UInt64, acceptInput: CurrencyUnit, acceptFundingKey: ECPublicKey, acceptFinalSPK: ScriptPubKey, acceptSerialId: UInt64, fundingOutputRef: OutputReference, timeouts: DLCTimeouts): WitnessTransaction
- 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 equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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 sortAndFilterOutputs(outputsWithSerialId: Vector[(TransactionOutput, UInt64)]): Vector[TransactionOutput]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()