Table of Contents

Class OfferAddressMismatchException

Namespace
NArk.ArkadeIntents.Assets
Assembly
NArk.ArkadeIntents.dll

Thrown when the solver's offer address matches neither the address nor the script we derive.

public sealed class OfferAddressMismatchException : Exception, ISerializable
Inheritance
OfferAddressMismatchException
Implements
Inherited Members

Remarks

Never fund past this. The offer covenant is derived entirely from the quote's to_amount and the two parameters the client supplied itself, so a disagreement means one side read something the other did not send — and funding it would put a deposit at a script the solver is not watching and the covenant may not release.

Constructors

OfferAddressMismatchException(string, string, string?, string?)

Creates the exception.

public OfferAddressMismatchException(string derivedAddress, string derivedPkScript, string? quotedAddress, string? quotedPkScript)

Parameters

derivedAddress string

The address the client derived.

derivedPkScript string

The scriptPubKey the client derived, hex.

quotedAddress string

The address the solver quoted, if any.

quotedPkScript string

The scriptPubKey the solver quoted, if any.

Properties

DerivedAddress

What the client derived.

public string DerivedAddress { get; }

Property Value

string

DerivedPkScript

The scriptPubKey the client derived, hex.

public string DerivedPkScript { get; }

Property Value

string

QuotedAddress

What the solver claimed, if anything.

public string? QuotedAddress { get; }

Property Value

string

QuotedPkScript

The scriptPubKey the solver claimed, if anything.

public string? QuotedPkScript { get; }

Property Value

string