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
derivedAddressstringThe address the client derived.
derivedPkScriptstringThe scriptPubKey the client derived, hex.
quotedAddressstringThe address the solver quoted, if any.
quotedPkScriptstringThe scriptPubKey the solver quoted, if any.
Properties
DerivedAddress
What the client derived.
public string DerivedAddress { get; }
Property Value
DerivedPkScript
The scriptPubKey the client derived, hex.
public string DerivedPkScript { get; }
Property Value
QuotedAddress
What the solver claimed, if anything.
public string? QuotedAddress { get; }
Property Value
QuotedPkScript
The scriptPubKey the solver claimed, if anything.
public string? QuotedPkScript { get; }