trait DLCWalletApi extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCWalletApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def acceptDLCOffer(dlcOffer: DLCOffer, peerAddress: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
- abstract def addDLCSigs(sigs: DLCSign): Future[DLCDb]
- abstract def addDLCSigs(signTLV: DLCSignTLV): Future[DLCDb]
- abstract def broadcastDLCFundingTx(contractId: ByteVector): Future[Transaction]
- abstract def cancelDLC(dlcId: Sha256Digest): Future[Unit]
- abstract def createDLCOffer(contractInfo: ContractInfo, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], locktime: UInt32, refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
- abstract def createDLCOffer(contractInfo: ContractInfo, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
- abstract def executeDLC(contractId: ByteVector, oracleSigs: Vector[OracleSignatures]): Future[Option[Transaction]]
Creates the CET for the given contractId and oracle signature, does not broadcast it
- abstract def executeDLC(contractId: ByteVector, oracleSigs: Seq[OracleAttestmentTLV]): Future[Option[Transaction]]
Creates the CET for the given contractId and oracle signature, does not broadcast it
- abstract def executeDLCRefund(contractId: ByteVector): Future[Transaction]
Creates the refund transaction for the given contractId, does not broadcast it
- abstract def findDLC(dlcId: Sha256Digest): Future[Option[DLCStatus]]
- abstract def findDLCByTemporaryContractId(tempContractId: Sha256Digest): Future[Option[DLCStatus]]
- abstract def getDLCFundingTx(contractId: ByteVector): Future[Transaction]
- abstract def getDLCOffer(dlcId: Sha256Digest): Future[Option[DLCOffer]]
- abstract def getWalletAccounting(): Future[DLCWalletAccounting]
Retrieves accounting and financial metrics for the entire dlc wallet
- abstract def incomingOfferHandling: IncomingDLCOfferHandlingApi
- abstract def listDLCs(): Future[Vector[DLCStatus]]
- abstract def listDLCs(states: Vector[DLCState]): Future[Vector[DLCStatus]]
Fetches all DLCs with the given set of states
- abstract def listDLCsByContact(address: InetSocketAddress): Future[Vector[DLCStatus]]
- abstract def signDLC(accept: DLCAccept): Future[DLCSign]
- abstract def signDLC(acceptTLV: DLCAcceptTLV): Future[DLCSign]
- abstract def walletApi: WalletApi
- Attributes
- protected
Concrete 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
- def acceptDLCOffer(dlcOfferTLV: DLCOfferTLV, peerAddress: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createDLCOffer(contractInfoTLV: ContractInfoTLV, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], locktime: UInt32, refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
- def createDLCOffer(contractInfoTLV: ContractInfoTLV, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executeDLC(contractId: ByteVector, oracleSig: OracleSignatures): Future[Option[Transaction]]
Creates the CET for the given contractId and oracle signature, does not broadcast it
- def executeDLC(contractId: ByteVector, oracleSig: OracleAttestmentTLV): Future[Option[Transaction]]
Creates the CET for the given contractId and oracle signature, does not broadcast it
- 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()
- 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()