Packages

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

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCOracle
  2. Serializable
  3. Product
  4. Equals
  5. BitcoinSLogger
  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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. implicit val conf: DLCOracleAppConfig
  7. 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
    DLCOracleDLCOracleApi
  8. def createNewAnnouncement(eventName: String, maturationTime: Instant, descriptor: EventDescriptorTLV, signingVersion: SigningVersion = SigningVersion.latest): Future[OracleAnnouncementTLV]
    Definition Classes
    DLCOracleDLCOracleApi
  9. def createNewDigitDecompAnnouncement(eventName: String, maturationTime: Instant, base: UInt16, isSigned: Boolean, numDigits: Int, unit: String, precision: Int32): Future[OracleAnnouncementTLV]
    Definition Classes
    DLCOracleDLCOracleApi
  10. def createNewEnumAnnouncement(eventName: String, maturationTime: Instant, outcomes: Vector[String]): Future[OracleAnnouncementTLV]
    Definition Classes
    DLCOracleDLCOracleApi
  11. def deleteAnnouncement(announcementTLV: OracleAnnouncementTLV): Future[OracleAnnouncementTLV]

    Deletes an announcement with the given name WARNING: If this announcement has been published widely users will not be able to settle their DLCs.

    Deletes an announcement with the given name WARNING: If this announcement has been published widely users will not be able to settle their DLCs. You likely should only use this in testing scenarios

    returns

    the deleted announcement

    Definition Classes
    DLCOracleDLCOracleApi
  12. def deleteAnnouncement(eventName: String): Future[OracleAnnouncementTLV]

    Deletes an announcement with the given name WARNING: If this announcement has been published widely users will not be able to settle their DLCs.

    Deletes an announcement with the given name WARNING: If this announcement has been published widely users will not be able to settle their DLCs. You likely should only use this in testing scenarios

    returns

    the deleted announcement

    Definition Classes
    DLCOracleDLCOracleApi
  13. 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
    DLCOracleDLCOracleApi
  14. 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
    DLCOracleDLCOracleApi
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val eventDAO: EventDAO
    Attributes
    protected[bitcoins]
  17. val eventOutcomeDAO: EventOutcomeDAO
    Attributes
    protected[bitcoins]
  18. def exportSigningKeyWIF: String

    Returns the staking address private key in wallet import format so a user can take it an recover the funds in another wallet

    Returns the staking address private key in wallet import format so a user can take it an recover the funds in another wallet

    Definition Classes
    DLCOracleDLCOracleApi
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def findEvent(eventName: String): Future[Option[OracleEvent]]
    Definition Classes
    DLCOracleDLCOracleApi
  21. def findEvent(oracleEventTLV: OracleEventTLV): Future[Option[OracleEvent]]
    Definition Classes
    DLCOracleDLCOracleApi
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getRootXpub: ExtPublicKey
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def listCompletedEventDbs(): Future[Vector[EventDb]]
    Definition Classes
    DLCOracleDLCOracleApi
  26. def listCompletedEvents(): Future[Vector[OracleEvent]]
    Definition Classes
    DLCOracleDLCOracleApi
  27. def listEventDbs(): Future[Vector[EventDb]]
    Definition Classes
    DLCOracleDLCOracleApi
  28. def listEvents(): Future[Vector[OracleEvent]]
    Definition Classes
    DLCOracleDLCOracleApi
  29. def listPendingEventDbs(): Future[Vector[EventDb]]
    Definition Classes
    DLCOracleDLCOracleApi
  30. def listPendingEvents(): Future[Vector[OracleEvent]]
    Definition Classes
    DLCOracleDLCOracleApi
  31. def logger: Logger
    Definition Classes
    BitcoinSLogger
  32. val masterXpubDAO: MasterXPubDAO
    Attributes
    protected[bitcoins]
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def oracleName(): Future[Option[String]]
    Definition Classes
    DLCOracleDLCOracleApi
  37. def productElementNames: Iterator[String]
    Definition Classes
    Product
  38. def publicKey(): SchnorrPublicKey
    Definition Classes
    DLCOracleDLCOracleApi
  39. val rValueDAO: RValueDAO
    Attributes
    protected[bitcoins]
  40. def setOracleName(name: String): Future[Unit]
    Definition Classes
    DLCOracleDLCOracleApi
  41. def signDigits(oracleEventTLV: OracleEventTLV, num: Long): Future[OracleEvent]
    Definition Classes
    DLCOracleDLCOracleApi
  42. def signDigits(eventName: String, num: Long): Future[OracleEvent]
    Definition Classes
    DLCOracleDLCOracleApi
  43. def signEnum(oracleEventTLV: OracleEventTLV, outcome: EnumAttestation): Future[EventDb]

    Signs an enumerated announcement

    Signs an enumerated announcement

    oracleEventTLV

    the tlv of the oracle event

    outcome

    the outcome for the give announcement

    Definition Classes
    DLCOracleDLCOracleApi
  44. def signEnum(eventName: String, outcome: EnumAttestation): Future[EventDb]

    Signs an enumerated announcement

    Signs an enumerated announcement

    eventName

    the event name of the announcement

    outcome

    the outcome for the give announcement

    Definition Classes
    DLCOracleDLCOracleApi
  45. def signMessage(message: ByteVector): SchnorrDigitalSignature

    Signs the SHA256 hash of the given bytes using the oracle's signing key

    Signs the SHA256 hash of the given bytes using the oracle's signing key

    Definition Classes
    DLCOracleDLCOracleApi
  46. def signMessage(message: String): SchnorrDigitalSignature

    Signs the SHA256 hash of the given string using the oracle's signing key

    Signs the SHA256 hash of the given string using the oracle's signing key

    Definition Classes
    DLCOracleApi
  47. def stakingAddress(network: BitcoinNetwork): Bech32Address
    Definition Classes
    DLCOracleDLCOracleApi
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BitcoinSLogger

Inherited from DLCOracleApi

Inherited from AnyRef

Inherited from Any

Ungrouped