class DLCOracle extends DLCOracleApi with Logging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCOracle
- Logging
- DLCOracleApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DLCOracle(extPrivateKey: ExtPrivateKeyHardened)(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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val conf: DLCOracleAppConfig
- def createNewDigitDecompEvent(eventName: String, maturationTime: Instant, base: UInt16, isSigned: Boolean, numDigits: Int, unit: String, precision: Int32): Future[OracleAnnouncementTLV]
- Definition Classes
- DLCOracle → DLCOracleApi
- def createNewEnumEvent(eventName: String, maturationTime: Instant, outcomes: Vector[String]): Future[OracleAnnouncementTLV]
- Definition Classes
- DLCOracle → DLCOracleApi
- def createNewEvent(eventName: String, maturationTime: Instant, descriptor: EventDescriptorTLV, signingVersion: SigningVersion = SigningVersion.latest): 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 deleteAttestations(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 deleteAttestations(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
- implicit val ec: ExecutionContext
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- 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()
- val publicKey: SchnorrPublicKey
- Definition Classes
- DLCOracle → DLCOracleApi
- val rValueDAO: RValueDAO
- Attributes
- protected[bitcoins]
- 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 signEnumEvent(oracleEventTLV: OracleEventTLV, outcome: EnumAttestation): Future[EventDb]
- Definition Classes
- DLCOracle → DLCOracleApi
- def signEnumEvent(eventName: String, outcome: EnumAttestation): Future[EventDb]
- Definition Classes
- DLCOracle → DLCOracleApi
- def signEvent(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 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 toString(): String
- Definition Classes
- AnyRef → Any
- 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