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
- Alphabetic
- By Inheritance
- DLCOffer
- Serializable
- Product
- Equals
- DLCSetupMessage
- DLCMessage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- val changeAddress: BitcoinAddress
- Definition Classes
- DLCOffer → DLCSetupMessage
- val changeSerialId: UInt64
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- DLCOffer → DLCSetupMessage
- val contractDescriptors: Vector[ContractDescriptor]
- val contractInfo: ContractInfo
- lazy val dlcId: Sha256Digest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val feeRate: SatoshisPerVirtualByte
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val fundOutputSerialId: UInt64
- val fundingInputs: Vector[DLCFundingInput]
- Definition Classes
- DLCOffer → DLCSetupMessage
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val isExternalAddress: Boolean
- 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()
- val oracleInfos: Vector[OracleInfo]
- val payoutSerialId: UInt64
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocolVersionOpt: Option[Int]
- val pubKeys: DLCPublicKeys
- Definition Classes
- DLCOffer → DLCSetupMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tempContractId: Sha256Digest
- val timeouts: DLCTimeouts
- def toMessage: LnMessage[DLCOfferTLV]
- def toTLV: DLCOfferTLV
- 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()