Class RefundOutcome
- Namespace
- NArk.ArkadeIntents.Recovery
- Assembly
- NArk.ArkadeIntents.dll
What an attempt to resolve an unfinished swap found.
public sealed record RefundOutcome : IEquatable<RefundOutcome>
- Inheritance
-
RefundOutcome
- Implements
- Inherited Members
Constructors
RefundOutcome(RefundOutcomeKind, LockupFate, string?, RefundBlockedReason?, IReadOnlyList<OutPoint>?, string?)
What an attempt to resolve an unfinished swap found.
public RefundOutcome(RefundOutcomeKind Kind, LockupFate Fate, string? Txid = null, RefundBlockedReason? Blocked = null, IReadOnlyList<OutPoint>? Stuck = null, string? Detail = null)
Parameters
KindRefundOutcomeKindHow it ended.
FateLockupFateWhat the chain said about the lockup.
TxidstringThe refund transaction, when one was pushed.
BlockedRefundBlockedReason?Why it is not ours to push, on Blocked.
StuckIReadOnlyList<OutPoint>The outputs needing recovery, on NeedsRecovery.
DetailstringA human-readable elaboration. Never branch on it.
Properties
Blocked
Why it is not ours to push, on Blocked.
public RefundBlockedReason? Blocked { get; init; }
Property Value
Detail
A human-readable elaboration. Never branch on it.
public string? Detail { get; init; }
Property Value
Fate
What the chain said about the lockup.
public LockupFate Fate { get; init; }
Property Value
Kind
How it ended.
public RefundOutcomeKind Kind { get; init; }
Property Value
Stuck
The outputs needing recovery, on NeedsRecovery.
public IReadOnlyList<OutPoint>? Stuck { get; init; }
Property Value
- IReadOnlyList<OutPoint>
Txid
The refund transaction, when one was pushed.
public string? Txid { get; init; }