Table of Contents

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

Restored IReadOnlyList<RestoredOffer>

Swaps rebuilt and written.

Scanned IReadOnlyList<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.

Unresolved IReadOnlyList<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

IReadOnlyList<RestoredOffer>

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

IReadOnlyList<string>

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

Property Value

IReadOnlyList<string>