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

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

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped