object DLCWalletUtil extends Logging

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

Type Members

  1. case class InitializedDLCWallet(funded: FundedDLCWallet) extends 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. val amt2: Satoshis
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def buildDLCOffer(totalCollateral: CurrencyUnit): DLCOffer
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  9. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  10. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  11. def dlcExecutionTest(dlcA: DLCWallet, dlcB: DLCWallet, asInitiator: Boolean, func: (DLCWallet) => Future[Transaction], expectedOutputs: Int)(implicit ec: ExecutionContext): Future[Boolean]
  12. def dlcExecutionTest(wallets: (InitializedDLCWallet, InitializedDLCWallet), asInitiator: Boolean, func: (DLCWallet) => Future[Transaction], expectedOutputs: Int)(implicit ec: ExecutionContext): Future[Boolean]
  13. lazy val dummyAddress: BitcoinAddress
  14. lazy val dummyBlockHash: DoubleSha256DigestBE
  15. lazy val dummyCETSigs: CETSignatures
  16. lazy val dummyContractMaturity: BlockTimeStamp
  17. lazy val dummyContractTimeout: BlockTimeStamp
  18. lazy val dummyDLCKeys: DLCPublicKeys
  19. val dummyFundingInputs: Vector[DLCFundingInputP2WPKHV0]
  20. lazy val dummyFundingSignatures: FundingSignatures
  21. lazy val dummyKey: ECPublicKey
  22. lazy val dummyKey2: ECPublicKey
  23. lazy val dummyOutcomeSigs: Vector[(ECPublicKey, ECAdaptorSignature)]
  24. lazy val dummyPartialSig: PartialSignature
  25. val dummyPrevTx: BaseTransaction
  26. lazy val dummyScriptWitness: P2WPKHWitnessV0
  27. lazy val dummyTimeouts: DLCTimeouts
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  30. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  34. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. def getContractId(wallet: DLCWallet)(implicit ec: ExecutionContext): Future[ByteVector]
  36. def getDLCStatus(wallet: DLCWallet)(implicit ec: ExecutionContext): Future[DLCStatus]
  37. def getSigs(contractInfo: SingleContractInfo): (OracleAttestmentTLV, OracleAttestmentTLV)
  38. val half: Satoshis
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. 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.

  44. lazy val invalidContractInfo: ContractInfo
  45. lazy val invalidContractOraclePair: EnumPair
  46. lazy val invalidDLCOffer: DLCOffer
  47. lazy val invalidOracleInfo: EnumSingleOracleInfo
  48. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  49. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  50. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  51. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  52. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  53. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  54. lazy val kValue: ECPrivateKey
  55. lazy val kValues: Vector[ECPrivateKey]
  56. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  57. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  58. lazy val loseHash: Sha256Digest
  59. lazy val loseStr: String
  60. lazy val minimalPartialSig: PartialSignature
  61. lazy val multiNonceContractDescriptor: NumericContractDescriptor
  62. lazy val multiNonceContractInfo: ContractInfo
  63. lazy val multiNonceContractOraclePair: NumericPair
  64. lazy val multiNonceOracleInfo: NumericSingleOracleInfo
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. val nonWinnerTakeAllOutcomes: Vector[(EnumOutcome, Satoshis)]
  67. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  68. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  69. val numDigits: Int
  70. lazy val numericContractInfoV0: ContractInfoV0TLV
  71. lazy val oraclePrivKey: ECPrivateKey
  72. lazy val rValue: SchnorrNonce
  73. lazy val rValues: OrderedNonces
  74. lazy val sampleAcceptChangeSerialId: UInt64
  75. lazy val sampleAcceptPayoutSerialId: UInt64
  76. lazy val sampleContractDataDb: DLCContractDataDb
  77. lazy val sampleContractDescriptor: EnumContractDescriptor
  78. lazy val sampleContractDescriptorNonWinnerTakeAll: EnumContractDescriptor
  79. lazy val sampleContractInfo: SingleContractInfo
  80. lazy val sampleContractInfo2: ContractInfo
  81. lazy val sampleContractInfoNonWinnerTakeAll: SingleContractInfo
  82. lazy val sampleContractOraclePair: EnumPair
  83. lazy val sampleContractOraclePairNonWinnerTakeAll: EnumPair
  84. lazy val sampleDLCAccept: DLCAccept
  85. lazy val sampleDLCDb: DLCDb
  86. lazy val sampleDLCOffer: DLCOffer
  87. lazy val sampleDLCOffer2: DLCOffer
  88. lazy val sampleDLCOfferNonWinnerTakeAll: DLCOffer
  89. lazy val sampleDLCSign: DLCSign
  90. lazy val sampleFundOutputSerialId: UInt64
  91. lazy val sampleMultiNonceDLCOffer: DLCOffer
  92. lazy val sampleOfferChangeSerialId: UInt64
  93. lazy val sampleOfferPayoutSerialId: UInt64
  94. lazy val sampleOracleInfo: EnumSingleOracleInfo
  95. lazy val sampleOracleInfoNonWinnerTakeAll: EnumSingleOracleInfo
  96. lazy val sampleOracleLoseSig: SchnorrDigitalSignature
  97. lazy val sampleOracleWinSig: SchnorrDigitalSignature
  98. val sampleOutcomes: Vector[(EnumOutcome, Satoshis)]
  99. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  100. def toString(): String
    Definition Classes
    AnyRef → Any
  101. val total: Satoshis
  102. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  103. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  104. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  105. def verifyInput(transaction: Transaction, inputIndex: Long, prevOut: TransactionOutput, outputMap: PreviousOutputMap): Boolean
  106. def verifyProperlySetTxIds(wallet: DLCWallet)(implicit ec: ExecutionContext): Future[Unit]
  107. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  108. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  109. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  110. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  111. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  112. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  113. lazy val winHash: Sha256Digest
  114. lazy val winStr: String

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped