Table of Contents

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

Kind RefundOutcomeKind

How it ended.

Fate LockupFate

What the chain said about the lockup.

Txid string

The refund transaction, when one was pushed.

Blocked RefundBlockedReason?

Why it is not ours to push, on Blocked.

Stuck IReadOnlyList<OutPoint>

The outputs needing recovery, on NeedsRecovery.

Detail string

A 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

RefundBlockedReason?

Detail

A human-readable elaboration. Never branch on it.

public string? Detail { get; init; }

Property Value

string

Fate

What the chain said about the lockup.

public LockupFate Fate { get; init; }

Property Value

LockupFate

Kind

How it ended.

public RefundOutcomeKind Kind { get; init; }

Property Value

RefundOutcomeKind

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; }

Property Value

string