case class DLCOracle()(implicit conf: DLCOracleAppConfig) extends DLCOracleApi with Logging with Product with Serializable
- Alphabetic
- By Inheritance
- DLCOracle
- Serializable
- Product
- Equals
- Logging
- DLCOracleApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DLCOracle()(implicit conf: DLCOracleAppConfig)
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def backup(location: Path): Future[Unit]
Backup oracle database
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val conf: DLCOracleAppConfig
- def createAttestation(nonce: SchnorrNonce, outcome: DLCAttestationType): Future[EventDb]
Signs the event for the single nonce This will be called multiple times by signDigits for each nonce
Signs the event for the single nonce This will be called multiple times by signDigits for each nonce
- Definition Classes
- DLCOracle → DLCOracleApi
- def createNewAnnouncement(eventName: String, maturationTime: Instant, descriptor: EventDescriptorTLV, signingVersion: SigningVersion = SigningVersion.latest): Future[OracleAnnouncementTLV]
- Definition Classes
- DLCOracle → DLCOracleApi
- def createNewDigitDecompAnnouncement(eventName: String, maturationTime: Instant, base: UInt16, isSigned: Boolean, numDigits: Int, unit: String, precision: Int32): Future[OracleAnnouncementTLV]
- Definition Classes
- DLCOracle → DLCOracleApi
- def createNewEnumAnnouncement(eventName: String, maturationTime: Instant, outcomes: Vector[String]): Future[OracleAnnouncementTLV]
- Definition Classes
- DLCOracle → DLCOracleApi
- 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 deleteAnnouncement(announcementTLV: OracleAnnouncementTLV): Future[OracleAnnouncementTLV]
<invalid inheritdoc annotation>
<invalid inheritdoc annotation>
- Definition Classes
- DLCOracle → DLCOracleApi
- def deleteAnnouncement(eventName: String): Future[OracleAnnouncementTLV]
<invalid inheritdoc annotation>
<invalid inheritdoc annotation>
- Definition Classes
- DLCOracle → DLCOracleApi
- def deleteAttestation(oracleEventTLV: OracleEventTLV): Future[OracleEvent]
Deletes attestations for the given event
Deletes attestations for the given event
WARNING: if previous signatures have been made public the oracle private key will be revealed.
- Definition Classes
- DLCOracle → DLCOracleApi
- def deleteAttestation(eventName: String): Future[OracleEvent]
Deletes attestations for the given event
Deletes attestations for the given event
WARNING: if previous signatures have been made public the oracle private key will be revealed.
- Definition Classes
- DLCOracle → DLCOracleApi
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- val eventDAO: EventDAO
- Attributes
- protected[bitcoins]
- val eventOutcomeDAO: EventOutcomeDAO
- Attributes
- protected[bitcoins]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findEvent(eventName: String): Future[Option[OracleEvent]]
- Definition Classes
- DLCOracle → DLCOracleApi
- def findEvent(oracleEventTLV: OracleEventTLV): Future[Option[OracleEvent]]
- Definition Classes
- DLCOracle → DLCOracleApi
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getRootXpub: ExtPublicKey
- 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 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
- def listEventDbs(): Future[Vector[EventDb]]
- Definition Classes
- DLCOracle → DLCOracleApi
- def listEvents(): Future[Vector[OracleEvent]]
- Definition Classes
- DLCOracle → DLCOracleApi
- def listPendingEventDbs(): Future[Vector[EventDb]]
- Definition Classes
- DLCOracle → DLCOracleApi
- def logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
- val masterXpubDAO: MasterXPubDAO
- Attributes
- protected[bitcoins]
- 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()
- def oracleName(): Future[Option[String]]
- Definition Classes
- DLCOracle → DLCOracleApi
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val publicKey: SchnorrPublicKey
- Definition Classes
- DLCOracle → DLCOracleApi
- val rValueDAO: RValueDAO
- Attributes
- protected[bitcoins]
- def setOracleName(name: String): Future[Unit]
- Definition Classes
- DLCOracle → DLCOracleApi
- def signDigits(oracleEventTLV: OracleEventTLV, num: Long): Future[OracleEvent]
- Definition Classes
- DLCOracle → DLCOracleApi
- def signDigits(eventName: String, num: Long): Future[OracleEvent]
- Definition Classes
- DLCOracle → DLCOracleApi
- def signEnum(oracleEventTLV: OracleEventTLV, outcome: EnumAttestation): Future[EventDb]
- Definition Classes
- DLCOracle → DLCOracleApi
- def signEnum(eventName: String, outcome: EnumAttestation): Future[EventDb]
- Definition Classes
- DLCOracle → DLCOracleApi
- def signMessage(message: ByteVector): SchnorrDigitalSignature
<invalid inheritdoc annotation>
<invalid inheritdoc annotation>
- Definition Classes
- DLCOracle → DLCOracleApi
- def signMessage(message: String): SchnorrDigitalSignature
- Definition Classes
- DLCOracleApi
- def stakingAddress(network: BitcoinNetwork): Bech32Address
- Definition Classes
- DLCOracle → DLCOracleApi
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- 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
Deprecated Value Members
- def createNewDigitDecompEvent(eventName: String, maturationTime: Instant, base: UInt16, isSigned: Boolean, numDigits: Int, unit: String, precision: Int32): Future[OracleAnnouncementTLV]
- Definition Classes
- DLCOracleApi
- Annotations
- @deprecated
- Deprecated
(Since version 2021-09-30) Call createNewDigitDecompAnnouncement
- def createNewEnumEvent(eventName: String, maturationTime: Instant, outcomes: Vector[String]): Future[OracleAnnouncementTLV]
- Definition Classes
- DLCOracleApi
- Annotations
- @deprecated
- Deprecated
(Since version 2021-09-30) Call createNewEnumAnnouncement
- def createNewEvent(eventName: String, maturationTime: Instant, descriptor: EventDescriptorTLV, signingVersion: SigningVersion): Future[OracleAnnouncementTLV]
- Definition Classes
- DLCOracleApi
- Annotations
- @deprecated
- Deprecated
(Since version 2021-09-30) Call createNewAnnouncement
- def signEnumEvent(oracleEventTLV: OracleEventTLV, outcome: EnumAttestation): Future[EventDb]
- Definition Classes
- DLCOracleApi
- Annotations
- @deprecated
- Deprecated
(Since version 2021-09-30) Call signEnum
- def signEnumEvent(eventName: String, outcome: EnumAttestation): Future[EventDb]
- Definition Classes
- DLCOracleApi
- Annotations
- @deprecated
- Deprecated
(Since version 2021-09-30) Call signEnum
- def signEvent(nonce: SchnorrNonce, outcome: DLCAttestationType): Future[EventDb]
- Definition Classes
- DLCOracleApi
- Annotations
- @deprecated
- Deprecated
(Since version 2021-09-30) Call createAttestation