SwapStatus enum
The status of a swap
Values
- Initial → const SwapStatus
-
The swap address has been created and either there aren't any confirmed transactions associated with it or there are confirmed transactions that are bellow the lock timeout which means the funds are still eligible to be redeemed normally.
- WaitingConfirmation → const SwapStatus
- Redeemable → const SwapStatus
- Redeemed → const SwapStatus
- Refundable → const SwapStatus
-
The swap address has confirmed transactions associated with it and the lock timeout has passed since the earliest confirmed transaction. This means the only way to spend the funds from this address is by broadcasting a refund transaction.
- Completed → const SwapStatus
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SwapStatus> - A constant List of the values in this enum, in order of their declaration.