Packages

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.

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

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCOffer
  2. Serializable
  3. Product
  4. Equals
  5. DLCSetupMessage
  6. DLCMessage
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new 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)

    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

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. val changeAddress: BitcoinAddress
    Definition Classes
    DLCOfferDLCSetupMessage
  6. val changeSerialId: UInt64
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val collateral: Satoshis

    The collateral that the offerer/acceptor is putting up on their side of the DLC

    The collateral that the offerer/acceptor is putting up on their side of the DLC

    Definition Classes
    DLCOfferDLCSetupMessage
  9. val contractDescriptors: Vector[ContractDescriptor]
  10. val contractInfo: ContractInfo
  11. lazy val dlcId: Sha256Digest
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val feeRate: SatoshisPerVirtualByte
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. val fundOutputSerialId: UInt64
  16. val fundingInputs: Vector[DLCFundingInput]
    Definition Classes
    DLCOfferDLCSetupMessage
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. val isExternalAddress: Boolean
  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. val oracleInfos: Vector[OracleInfo]
  24. val payoutSerialId: UInt64
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val protocolVersionOpt: Option[Int]
  27. val pubKeys: DLCPublicKeys
    Definition Classes
    DLCOfferDLCSetupMessage
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. val tempContractId: Sha256Digest
  30. val timeouts: DLCTimeouts
  31. def toMessage: LnMessage[DLCOfferTLV]
  32. def toTLV: DLCOfferTLV
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. 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 DLCSetupMessage

Inherited from DLCMessage

Inherited from AnyRef

Inherited from Any

Ungrouped