case class DLCOracle()(implicit conf: DLCOracleAppConfig) extends DLCOracleApi with BitcoinSLogger with Product with Serializable
- Alphabetic
- By Inheritance
- DLCOracle
- Serializable
- Product
- Equals
- BitcoinSLogger
- 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 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 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
- DLCOracle → DLCOracleApi
- 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
- 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
- val eventDAO: EventDAO
- Attributes
- protected[bitcoins]
- val eventOutcomeDAO: EventOutcomeDAO
- Attributes
- protected[bitcoins]
- 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
- DLCOracle → DLCOracleApi
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listCompletedEventDbs(): Future[Vector[EventDb]]
- Definition Classes
- DLCOracle → DLCOracleApi
- def listCompletedEvents(): Future[Vector[OracleEvent]]
- Definition Classes
- DLCOracle → DLCOracleApi
- 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 listPendingEvents(): Future[Vector[OracleEvent]]
- Definition Classes
- DLCOracle → DLCOracleApi
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- 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
- def 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]
Signs an enumerated announcement
Signs an enumerated announcement
- oracleEventTLV
the tlv of the oracle event
- outcome
the outcome for the give announcement
- Definition Classes
- DLCOracle → DLCOracleApi
- 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
- DLCOracle → DLCOracleApi
- 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
- DLCOracle → DLCOracleApi
- 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
- def stakingAddress(network: BitcoinNetwork): Bech32Address
- Definition Classes
- DLCOracle → DLCOracleApi
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()