object DLCWalletUtil extends Logging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCWalletUtil
- Logging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class InitializedDLCWallet(funded: FundedDLCWallet) extends 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
- val amt2: Satoshis
- 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 debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def dlcExecutionTest(dlcA: DLCWallet, dlcB: DLCWallet, asInitiator: Boolean, func: (DLCWallet) => Future[Transaction], expectedOutputs: Int)(implicit ec: ExecutionContext): Future[Boolean]
- def dlcExecutionTest(wallets: (InitializedDLCWallet, InitializedDLCWallet), asInitiator: Boolean, func: (DLCWallet) => Future[Transaction], expectedOutputs: Int)(implicit ec: ExecutionContext): Future[Boolean]
- lazy val dummyAddress: BitcoinAddress
- lazy val dummyBlockHash: DoubleSha256DigestBE
- lazy val dummyCETSigs: CETSignatures
- lazy val dummyContractMaturity: BlockTimeStamp
- lazy val dummyContractTimeout: BlockTimeStamp
- lazy val dummyDLCKeys: DLCPublicKeys
- val dummyFundingInputs: Vector[DLCFundingInputP2WPKHV0]
- lazy val dummyFundingSignatures: FundingSignatures
- lazy val dummyKey: ECPublicKey
- lazy val dummyKey2: ECPublicKey
- lazy val dummyOutcomeSigs: Vector[(ECPublicKey, ECAdaptorSignature)]
- lazy val dummyPartialSig: PartialSignature
- val dummyPrevTx: BaseTransaction
- lazy val dummyScriptWitness: P2WPKHWitnessV0
- lazy val dummyTimeouts: DLCTimeouts
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- 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 getContractId(wallet: DLCWallet)(implicit ec: ExecutionContext): Future[ByteVector]
- def getDLCStatus(wallet: DLCWallet)(implicit ec: ExecutionContext): Future[DLCStatus]
- def getSigs(contractInfo: SingleContractInfo): (OracleAttestmentTLV, OracleAttestmentTLV)
- val half: Satoshis
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def initDLC(fundedWalletA: FundedDLCWallet, fundedWalletB: FundedDLCWallet, contractInfo: ContractInfo, payoutAddressAOpt: Option[BitcoinAddress] = None, changeAddressAOpt: Option[BitcoinAddress] = None, payoutAddressBOpt: Option[BitcoinAddress] = None, changeAddressBOpt: Option[BitcoinAddress] = None)(implicit ec: ExecutionContext): Future[(InitializedDLCWallet, InitializedDLCWallet)]
Creates a DLC between two wallets.
- lazy val invalidContractInfo: ContractInfo
- lazy val invalidContractOraclePair: EnumPair
- lazy val invalidDLCOffer: DLCOffer
- lazy val invalidOracleInfo: EnumSingleOracleInfo
- def isDebugEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isErrorEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- lazy val kValue: ECPrivateKey
- lazy val kValues: Vector[ECPrivateKey]
- def logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
- lazy val loseHash: Sha256Digest
- lazy val loseStr: String
- lazy val minimalPartialSig: PartialSignature
- lazy val multiNonceContractDescriptor: NumericContractDescriptor
- lazy val multiNonceContractInfo: ContractInfo
- lazy val multiNonceContractOraclePair: NumericPair
- lazy val multiNonceOracleInfo: NumericSingleOracleInfo
- 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 numDigits: Int
- lazy val oraclePrivKey: ECPrivateKey
- lazy val rValue: SchnorrNonce
- lazy val rValues: Vector[SchnorrNonce]
- lazy val sampleAcceptChangeSerialId: UInt64
- lazy val sampleAcceptPayoutSerialId: UInt64
- lazy val sampleContractDataDb: DLCContractDataDb
- lazy val sampleContractDescriptor: EnumContractDescriptor
- lazy val sampleContractInfo: ContractInfo
- lazy val sampleContractInfo2: ContractInfo
- lazy val sampleContractOraclePair: EnumPair
- lazy val sampleDLCAccept: DLCAccept
- lazy val sampleDLCDb: DLCDb
- lazy val sampleDLCOffer: DLCOffer
- lazy val sampleDLCOffer2: DLCOffer
- lazy val sampleDLCSign: DLCSign
- lazy val sampleFundOutputSerialId: UInt64
- lazy val sampleMultiNonceDLCOffer: DLCOffer
- lazy val sampleOfferChangeSerialId: UInt64
- lazy val sampleOfferPayoutSerialId: UInt64
- lazy val sampleOracleInfo: EnumSingleOracleInfo
- lazy val sampleOracleLoseSig: SchnorrDigitalSignature
- lazy val sampleOracleWinSig: SchnorrDigitalSignature
- val sampleOutcomes: Vector[(EnumOutcome, Satoshis)]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val total: Satoshis
- def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def verifyInput(transaction: Transaction, inputIndex: Long, prevOut: TransactionOutput): Boolean
- def verifyProperlySetTxIds(wallet: DLCWallet)(implicit ec: ExecutionContext): Future[Unit]
- 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()
- def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- lazy val winHash: Sha256Digest
- lazy val winStr: String