object DLCMessage
- Alphabetic
- By Inheritance
- DLCMessage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class DLCAccept(collateral: Satoshis, pubKeys: DLCPublicKeys, fundingInputs: Vector[DLCFundingInput], changeAddress: BitcoinAddress, payoutSerialId: UInt64, changeSerialId: UInt64, cetSigs: CETSignatures, refundSig: PartialSignature[ECDigitalSignature], negotiationFields: NegotiationFields, tempContractId: Sha256Digest, isExternalAddress: Boolean = false) extends DLCSetupMessage with Product with Serializable
- case class DLCAcceptWithoutCetSigs(totalCollateral: Satoshis, pubKeys: DLCPublicKeys, fundingInputs: Vector[DLCFundingInput], changeAddress: BitcoinAddress, payoutSerialId: UInt64, changeSerialId: UInt64, refundSig: PartialSignature[ECDigitalSignature], negotiationFields: NegotiationFields, tempContractId: Sha256Digest) extends Product with Serializable
DLC Accept message that contains refund signatures, but does not contain cet signatures
- case class DLCAcceptWithoutSigs(totalCollateral: Satoshis, pubKeys: DLCPublicKeys, fundingInputs: Vector[DLCFundingInput], changeAddress: BitcoinAddress, payoutSerialId: UInt64, changeSerialId: UInt64, negotiationFields: NegotiationFields, tempContractId: Sha256Digest) extends Product with Serializable
DLC accept message that does not contain cet signatures or refund signatures
- case class DLCOffer(protocolVersionOpt: Option[Int], contractInfo: ContractInfo, pubKeys: DLCPublicKeys, collateral: Satoshis, fundingInputs: Vector[DLCFundingInput], changeAddress: BitcoinAddress, payoutSerialId: UInt64, changeSerialId: UInt64, fundOutputSerialId: UInt64, feeRate: SatoshisPerVirtualByte, timeouts: DLCTimeouts, isExternalAddress: Boolean = false) extends DLCSetupMessage with Product with Serializable
The initiating party starts the protocol by sending an offer message to the other party.
The initiating party starts the protocol by sending an offer message to the other party.
- contractInfo
The oracle public key and R point(s) to use to build the CETs as well as meta information to identify the oracle to be used in the contract, and a map to be used to create CETs.
- pubKeys
The relevant public keys that the initiator will be using
- collateral
How much the initiator inputs into the contract.
- fundingInputs
The set of UTXOs to be used as input to the fund transaction.
- changeAddress
The address to use to send the change for the initiator.
- feeRate
The fee rate to be used when computing fees for the different transactions.
- timeouts
The set of timeouts for the CETs
- sealed trait DLCSetupMessage extends DLCMessage
- case class DLCSign(cetSigs: CETSignatures, refundSig: PartialSignature[ECDigitalSignature], fundingSigs: FundingSignatures, contractId: ByteVector) extends DLCMessage with Product with Serializable
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 calcDLCId(outPoints: Vector[TransactionOutPoint]): Sha256Digest
- 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])
- def genSerialId(notEqualTo: Vector[UInt64] = Vector.empty): UInt64
- Annotations
- @tailrec()
- def genSerialIds(size: Int, notEqualTo: Vector[UInt64] = Vector.empty): Vector[UInt64]
- Annotations
- @tailrec()
- 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()
- 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()
- object DLCAccept extends Serializable
- object DLCOffer extends Serializable
- object DLCSign extends Serializable