Packages

object DLCState extends StringFactory[DLCState]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCState
  2. StringFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

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

  2. sealed abstract class ClosedState extends DLCState

    Means that someone has attempted to claim the DLC

  3. sealed trait ClosedViaOracleOutcomeState extends ClosedState

    A state that requires an oracle outcome to be valid

  4. sealed abstract class InProgressState extends DLCState

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. val all: Vector[DLCState]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val cancellableState: Vector[InProgressState with Product with Serializable]

    The states where you can cancel a DLC in your wallet

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val closedStates: Vector[ClosedState]
  9. implicit val dlcStateOrdering: Ordering[DLCState]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. 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
    DLCStateStringFactory
  14. 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
  15. 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
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. case object AcceptComputingAdaptorSigs extends AdaptorSigComputationState with Product with Serializable
  28. 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.

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

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

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

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

  33. case object Refunded extends ClosedState with Product with Serializable

    The state where the DLC refund transaction has been accepted by the network.

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

  35. case object SignComputingAdaptorSigs extends AdaptorSigComputationState with Product with Serializable
  36. 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.

Inherited from StringFactory[DLCState]

Inherited from AnyRef

Inherited from Any

Ungrouped