object DLCWalletUtil extends BitcoinSLogger

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

  35. lazy val invalidContractInfo: ContractInfo
  36. lazy val invalidContractOraclePair: EnumPair
  37. lazy val invalidDLCOffer: DLCOffer
  38. lazy val invalidOracleInfo: EnumSingleOracleInfo
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. lazy val kValue: ECPrivateKey
  41. lazy val kValues: Vector[ECPrivateKey]
  42. def logger: Logger
    Definition Classes
    BitcoinSLogger
  43. lazy val loseHash: Sha256Digest
  44. lazy val loseStr: String
  45. lazy val minimalPartialSig: PartialSignature[ECDigitalSignature]
  46. lazy val multiNonceContractDescriptor: NumericContractDescriptor
  47. lazy val multiNonceContractInfo: ContractInfo
  48. lazy val multiNonceContractOraclePair: NumericPair
  49. lazy val multiNonceOracleInfo: NumericSingleOracleInfo
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. val nonWinnerTakeAllOutcomes: Vector[(EnumOutcome, Satoshis)]
  52. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. val numDigits: Int
  55. lazy val numericContractInfoV0: ContractInfoV0TLV
  56. lazy val oraclePrivKey: ECPrivateKey
  57. lazy val rValue: SchnorrNonce
  58. lazy val rValues: OrderedNonces
  59. lazy val sampleAcceptChangeSerialId: UInt64
  60. lazy val sampleAcceptPayoutSerialId: UInt64
  61. lazy val sampleContractDataDb: DLCContractDataDb
  62. lazy val sampleContractDescriptor: EnumContractDescriptor
  63. lazy val sampleContractDescriptorNonWinnerTakeAll: EnumContractDescriptor
  64. lazy val sampleContractInfo: SingleContractInfo
  65. lazy val sampleContractInfo2: ContractInfo
  66. lazy val sampleContractInfoNonWinnerTakeAll: SingleContractInfo
  67. lazy val sampleContractOraclePair: EnumPair
  68. lazy val sampleContractOraclePairNonWinnerTakeAll: EnumPair
  69. lazy val sampleDLCAccept: DLCAccept
  70. lazy val sampleDLCDb: DLCDb
  71. lazy val sampleDLCOffer: DLCOffer
  72. lazy val sampleDLCOffer2: DLCOffer
  73. lazy val sampleDLCOfferNonWinnerTakeAll: DLCOffer
  74. lazy val sampleDLCSign: DLCSign
  75. lazy val sampleFundOutputSerialId: UInt64
  76. lazy val sampleMultiNonceDLCOffer: DLCOffer
  77. lazy val sampleOfferChangeSerialId: UInt64
  78. lazy val sampleOfferPayoutSerialId: UInt64
  79. lazy val sampleOracleInfo: EnumSingleOracleInfo
  80. lazy val sampleOracleInfoNonWinnerTakeAll: EnumSingleOracleInfo
  81. lazy val sampleOracleLoseSig: SchnorrDigitalSignature
  82. lazy val sampleOracleWinSig: SchnorrDigitalSignature
  83. val sampleOutcomes: Vector[(EnumOutcome, Satoshis)]
  84. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  85. def toString(): String
    Definition Classes
    AnyRef → Any
  86. val total: Satoshis
  87. def verifyInput(transaction: Transaction, inputIndex: Long, prevOut: TransactionOutput, outputMap: PreviousOutputMap): Boolean
  88. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  89. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  90. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  91. lazy val winHash: Sha256Digest
  92. lazy val winStr: String

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped