Class OfferRestoreResult
- Namespace
- NArk.ArkadeIntents.Assets
- Assembly
- NArk.ArkadeIntents.dll
What a restore pass found.
public sealed record OfferRestoreResult : IEquatable<OfferRestoreResult>
- Inheritance
-
OfferRestoreResult
- Implements
- Inherited Members
Constructors
OfferRestoreResult(IReadOnlyList<RestoredOffer>, IReadOnlyList<string>, IReadOnlyList<string>)
What a restore pass found.
public OfferRestoreResult(IReadOnlyList<RestoredOffer> Restored, IReadOnlyList<string> Scanned, IReadOnlyList<string> Unresolved)
Parameters
RestoredIReadOnlyList<RestoredOffer>Swaps rebuilt and written.
ScannedIReadOnlyList<string>Txids this pass reached an authoritative answer for — carried so an incremental caller can skip them next time. A txid that could not be fetched is deliberately absent.
UnresolvedIReadOnlyList<string>Txids that held an offer whose outcome could not be decided yet. Worth rescanning; not worth recording, since recording a guess is how a refunded swap becomes a settled one.
Properties
Restored
Swaps rebuilt and written.
public IReadOnlyList<RestoredOffer> Restored { get; init; }
Property Value
Scanned
Txids this pass reached an authoritative answer for — carried so an incremental caller can skip them next time. A txid that could not be fetched is deliberately absent.
public IReadOnlyList<string> Scanned { get; init; }
Property Value
Unresolved
Txids that held an offer whose outcome could not be decided yet. Worth rescanning; not worth recording, since recording a guess is how a refunded swap becomes a settled one.
public IReadOnlyList<string> Unresolved { get; init; }