Packages

object DLCMessage

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

Type Members

  1. case class DLCAccept(collateral: Satoshis, pubKeys: DLCPublicKeys, fundingInputs: Vector[DLCFundingInput], changeAddress: BitcoinAddress, payoutSerialId: UInt64, changeSerialId: UInt64, cetSigs: CETSignatures, refundSig: PartialSignature, negotiationFields: NegotiationFields, tempContractId: Sha256Digest, isExternalAddress: Boolean = false) extends DLCSetupMessage with Product with Serializable
  2. case class DLCAcceptWithoutCetSigs(totalCollateral: Satoshis, pubKeys: DLCPublicKeys, fundingInputs: Vector[DLCFundingInput], changeAddress: BitcoinAddress, payoutSerialId: UInt64, changeSerialId: UInt64, refundSig: PartialSignature, negotiationFields: NegotiationFields, tempContractId: Sha256Digest) extends Product with Serializable

    DLC Accept message that contains refund signatures, but does not contain cet signatures

  3. 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

  4. 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

  5. sealed trait DLCSetupMessage extends DLCMessage
  6. case class DLCSign(cetSigs: CETSignatures, refundSig: PartialSignature, fundingSigs: FundingSignatures, contractId: ByteVector) extends DLCMessage with Product with Serializable

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 calcDLCId(outPoints: Vector[TransactionOutPoint]): Sha256Digest
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def genSerialId(notEqualTo: Vector[UInt64] = Vector.empty): UInt64
    Annotations
    @tailrec()
  11. def genSerialIds(size: Int, notEqualTo: Vector[UInt64] = Vector.empty): Vector[UInt64]
    Annotations
    @tailrec()
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. object DLCAccept extends Serializable
  24. object DLCOffer extends Serializable
  25. object DLCSign extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped