object DLCState extends StringFactory[DLCState]
- Alphabetic
- By Inheritance
- DLCState
- StringFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed abstract class AdaptorSigComputationState extends InProgressState
A state meant to represent we are computing adaptor sigs.
A state meant to represent we are computing adaptor sigs. Computing adaptor signatures can take awhile on certain hardware (raspberry pi) which is why we model this state
- sealed abstract class ClosedState extends DLCState
Means that someone has attempted to claim the DLC
- sealed trait ClosedViaOracleOutcomeState extends ClosedState
A state that requires an oracle outcome to be valid
- sealed abstract class InProgressState extends DLCState
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
- val all: Vector[DLCState]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cancellableState: Vector[InProgressState with Product with Serializable]
The states where you can cancel a DLC in your wallet
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val closedStates: Vector[ClosedState]
- implicit val dlcStateOrdering: Ordering[DLCState]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromString(str: String): DLCState
Tries to parse a string to type t, throws an exception if fails
Tries to parse a string to type t, throws an exception if fails
- Definition Classes
- DLCState → StringFactory
- def fromStringOpt(string: String): Option[DLCState]
Treis to parse a string to type t, returns None if failure
Treis to parse a string to type t, returns None if failure
- Definition Classes
- StringFactory
- def fromStringT(string: String): Try[DLCState]
Tries to parse string to type t, returns scala.util.Failure if the fails
Tries to parse string to type t, returns scala.util.Failure if the fails
- Definition Classes
- StringFactory
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- case object AcceptComputingAdaptorSigs extends AdaptorSigComputationState with Product with Serializable
- case object Accepted extends InProgressState with Product with Serializable
The state where an offer has been accepted but no sign message has yet been created/received.
- case object Broadcasted extends InProgressState with Product with Serializable
The state where the accepting (non-initiating) party has broadcasted the DLC funding transaction to the blockchain, and it has not yet been confirmed.
- case object Claimed extends ClosedState with ClosedViaOracleOutcomeState with Product with Serializable
The state where one of the CETs has been accepted by the network and executed by ourselves.
- case object Confirmed extends InProgressState with Product with Serializable
The state where the DLC funding transaction has been confirmed on-chain and no execution paths have yet been initiated.
- case object Offered extends InProgressState with Product with Serializable
The state where an offer has been created but no accept message has yet been created/received.
- case object Refunded extends ClosedState with Product with Serializable
The state where the DLC refund transaction has been accepted by the network.
- case object RemoteClaimed extends ClosedState with ClosedViaOracleOutcomeState with Product with Serializable
The state where one of the CETs has been accepted by the network and executed by a remote party.
- case object SignComputingAdaptorSigs extends AdaptorSigComputationState with Product with Serializable
- case object Signed extends InProgressState with Product with Serializable
The state where the initiating party has created a sign message in response to an accept message but the DLC funding transaction has not yet been broadcasted to the network.