Class LockupFateResult
- Namespace
- NArk.ArkadeIntents.Recovery
- Assembly
- NArk.ArkadeIntents.dll
What a look at a lockup found.
public sealed record LockupFateResult : IEquatable<LockupFateResult>
- Inheritance
-
LockupFateResult
- Implements
- Inherited Members
Constructors
LockupFateResult(LockupFate, byte[]?, IReadOnlyList<OutPoint>?)
What a look at a lockup found.
public LockupFateResult(LockupFate Fate, byte[]? Preimage = null, IReadOnlyList<OutPoint>? Stuck = null)
Parameters
FateLockupFateThe verdict.
Preimagebyte[]The secret the spend revealed, on Claimed only. Proof, not a hint.
StuckIReadOnlyList<OutPoint>The outputs that are out of the covenant's reach, on Exited and Swept. Named rather than counted, because a caller has to act on them individually.
Properties
Fate
The verdict.
public LockupFate Fate { get; init; }
Property Value
IsResolved
True once nothing further will happen to this lockup on its own.
public bool IsResolved { get; }
Property Value
Preimage
The secret the spend revealed, on Claimed only. Proof, not a hint.
public byte[]? Preimage { get; init; }
Property Value
- byte[]
Stuck
The outputs that are out of the covenant's reach, on Exited and Swept. Named rather than counted, because a caller has to act on them individually.
public IReadOnlyList<OutPoint>? Stuck { get; init; }
Property Value
- IReadOnlyList<OutPoint>