Table of Contents

Class LockupAddressMismatchException

Namespace
NArk.ArkadeIntents.Lightning
Assembly
NArk.ArkadeIntents.dll

Thrown when the solver's address matches neither shape the maker derives.

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

Remarks

Never fund past this. It is the single check that makes a wrong or malicious solver able to produce only an address the maker declines, rather than one that traps funds. Two shapes are compared, not one, because the covenant suite's timelocked refund leaf postdates some deployments and nothing on the wire says whether a given solver funds with it — reaching this exception means the quoted address matched NEITHER derivation, not merely a single guessed one.

Constructors

LockupAddressMismatchException(string, string, string?)

Creates the exception.

public LockupAddressMismatchException(string derivedEightLeaf, string derivedNineLeaf, string? quoted)

Parameters

derivedEightLeaf string

The address derived without the timelocked refund leaf.

derivedNineLeaf string

The address derived with it.

quoted string

The address the solver sent for comparison.

Properties

DerivedEightLeaf

What the maker derived without the timelocked refund leaf.

public string DerivedEightLeaf { get; }

Property Value

string

DerivedNineLeaf

What the maker derived with the timelocked refund leaf.

public string DerivedNineLeaf { get; }

Property Value

string

Quoted

What the solver claimed, if anything.

public string? Quoted { get; }

Property Value

string