Packages

case class DLCOracle()(implicit conf: DLCOracleAppConfig) extends DLCOracleApi with Logging with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCOracle
  2. Serializable
  3. Product
  4. Equals
  5. Logging
  6. DLCOracleApi
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DLCOracle()(implicit conf: DLCOracleAppConfig)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def backup(location: Path): Future[Unit]

    Backup oracle database

    Backup oracle database

    location

    baclup file location

    Definition Classes
    DLCOracle → DLCOracleApi
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. implicit val conf: DLCOracleAppConfig
  8. 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
  9. def createNewAnnouncement(eventName: String, maturationTime: Instant, descriptor: EventDescriptorTLV, signingVersion: SigningVersion = SigningVersion.latest): Future[OracleAnnouncementTLV]
    Definition Classes
    DLCOracle → DLCOracleApi
  10. def createNewDigitDecompAnnouncement(eventName: String, maturationTime: Instant, base: UInt16, isSigned: Boolean, numDigits: Int, unit: String, precision: Int32): Future[OracleAnnouncementTLV]
    Definition Classes
    DLCOracle → DLCOracleApi
  11. def createNewEnumAnnouncement(eventName: String, maturationTime: Instant, outcomes: Vector[String]): Future[OracleAnnouncementTLV]
    Definition Classes
    DLCOracle → DLCOracleApi
  12. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  13. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  14. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  15. def deleteAnnouncement(announcementTLV: OracleAnnouncementTLV): Future[OracleAnnouncementTLV]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    DLCOracle → DLCOracleApi
  16. def deleteAnnouncement(eventName: String): Future[OracleAnnouncementTLV]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    DLCOracle → DLCOracleApi
  17. 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
  18. 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
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. val eventDAO: EventDAO
    Attributes
    protected[bitcoins]
  24. val eventOutcomeDAO: EventOutcomeDAO
    Attributes
    protected[bitcoins]
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  26. def findEvent(eventName: String): Future[Option[OracleEvent]]
    Definition Classes
    DLCOracle → DLCOracleApi
  27. def findEvent(oracleEventTLV: OracleEventTLV): Future[Option[OracleEvent]]
    Definition Classes
    DLCOracle → DLCOracleApi
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def getRootXpub: ExtPublicKey
  30. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  34. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  35. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  38. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  39. def listEventDbs(): Future[Vector[EventDb]]
    Definition Classes
    DLCOracle → DLCOracleApi
  40. def listEvents(): Future[Vector[OracleEvent]]
    Definition Classes
    DLCOracle → DLCOracleApi
  41. def listPendingEventDbs(): Future[Vector[EventDb]]
    Definition Classes
    DLCOracle → DLCOracleApi
  42. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  43. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  44. val masterXpubDAO: MasterXPubDAO
    Attributes
    protected[bitcoins]
  45. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. def oracleName(): Future[Option[String]]
    Definition Classes
    DLCOracle → DLCOracleApi
  49. def productElementNames: Iterator[String]
    Definition Classes
    Product
  50. val publicKey: SchnorrPublicKey
    Definition Classes
    DLCOracle → DLCOracleApi
  51. val rValueDAO: RValueDAO
    Attributes
    protected[bitcoins]
  52. def setOracleName(name: String): Future[Unit]
    Definition Classes
    DLCOracle → DLCOracleApi
  53. def signDigits(oracleEventTLV: OracleEventTLV, num: Long): Future[OracleEvent]
    Definition Classes
    DLCOracle → DLCOracleApi
  54. def signDigits(eventName: String, num: Long): Future[OracleEvent]
    Definition Classes
    DLCOracle → DLCOracleApi
  55. def signEnum(oracleEventTLV: OracleEventTLV, outcome: EnumAttestation): Future[EventDb]
    Definition Classes
    DLCOracle → DLCOracleApi
  56. def signEnum(eventName: String, outcome: EnumAttestation): Future[EventDb]
    Definition Classes
    DLCOracle → DLCOracleApi
  57. def signMessage(message: ByteVector): SchnorrDigitalSignature

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    DLCOracle → DLCOracleApi
  58. def signMessage(message: String): SchnorrDigitalSignature
    Definition Classes
    DLCOracleApi
  59. def stakingAddress(network: BitcoinNetwork): Bech32Address
    Definition Classes
    DLCOracle → DLCOracleApi
  60. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  61. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  66. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  67. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  69. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Deprecated Value Members

  1. 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

  2. def createNewEnumEvent(eventName: String, maturationTime: Instant, outcomes: Vector[String]): Future[OracleAnnouncementTLV]
    Definition Classes
    DLCOracleApi
    Annotations
    @deprecated
    Deprecated

    (Since version 2021-09-30) Call createNewEnumAnnouncement

  3. 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

  4. def signEnumEvent(oracleEventTLV: OracleEventTLV, outcome: EnumAttestation): Future[EventDb]
    Definition Classes
    DLCOracleApi
    Annotations
    @deprecated
    Deprecated

    (Since version 2021-09-30) Call signEnum

  5. def signEnumEvent(eventName: String, outcome: EnumAttestation): Future[EventDb]
    Definition Classes
    DLCOracleApi
    Annotations
    @deprecated
    Deprecated

    (Since version 2021-09-30) Call signEnum

  6. def signEvent(nonce: SchnorrNonce, outcome: DLCAttestationType): Future[EventDb]
    Definition Classes
    DLCOracleApi
    Annotations
    @deprecated
    Deprecated

    (Since version 2021-09-30) Call createAttestation

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from DLCOracleApi

Inherited from AnyRef

Inherited from Any

Ungrouped