object DLCWalletUtil extends BitcoinSLogger
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCWalletUtil
- BitcoinSLogger
- 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 buildDLCOffer(totalCollateral: CurrencyUnit): DLCOffer
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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[ECDigitalSignature]
- 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 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 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val kValue: ECPrivateKey
- lazy val kValues: Vector[ECPrivateKey]
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- lazy val loseHash: Sha256Digest
- lazy val loseStr: String
- lazy val minimalPartialSig: PartialSignature[ECDigitalSignature]
- 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
- val nonWinnerTakeAllOutcomes: Vector[(EnumOutcome, Satoshis)]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val numDigits: Int
- lazy val numericContractInfoV0: ContractInfoV0TLV
- lazy val oraclePrivKey: ECPrivateKey
- lazy val rValue: SchnorrNonce
- lazy val rValues: OrderedNonces
- lazy val sampleAcceptChangeSerialId: UInt64
- lazy val sampleAcceptPayoutSerialId: UInt64
- lazy val sampleContractDataDb: DLCContractDataDb
- lazy val sampleContractDescriptor: EnumContractDescriptor
- lazy val sampleContractDescriptorNonWinnerTakeAll: EnumContractDescriptor
- lazy val sampleContractInfo: SingleContractInfo
- lazy val sampleContractInfo2: ContractInfo
- lazy val sampleContractInfoNonWinnerTakeAll: SingleContractInfo
- lazy val sampleContractOraclePair: EnumPair
- lazy val sampleContractOraclePairNonWinnerTakeAll: EnumPair
- lazy val sampleDLCAccept: DLCAccept
- lazy val sampleDLCDb: DLCDb
- lazy val sampleDLCOffer: DLCOffer
- lazy val sampleDLCOffer2: DLCOffer
- lazy val sampleDLCOfferNonWinnerTakeAll: 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 sampleOracleInfoNonWinnerTakeAll: 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 verifyInput(transaction: Transaction, inputIndex: Long, prevOut: TransactionOutput, outputMap: PreviousOutputMap): Boolean
- 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()
- lazy val winHash: Sha256Digest
- lazy val winStr: String