Table of Contents

Enum ArkadeIntentAction

Namespace
NArk.ArkadeIntents.Services
Assembly
NArk.ArkadeIntents.dll

What a swap needs done to it next, if anything.

public enum ArkadeIntentAction

Fields

ClaimOnchain = 2

An off-board's L1 HTLC may be ready to claim — the check is the corridor's, not the status's.

Unlike the other actions this one is proposed on every pass rather than gated by a status, because what it waits for happens on a chain no VTXO event reports: the solver's funding, and then its confirmations. The corridor answers "not yet" until both hold, which the advance loop already treats as an ordinary outcome.

ClaimReceive = 1

The counterparty funded a receive swap; spend the claim before its window closes.

None = 0

Nothing to do — it is waiting on someone else, or it is over.

RefundOnchain = 4

An on-board's L1 HTLC may be ours to take back — the check is the corridor's, not the status's.

Proposed on every pass for the same reason ClaimOnchain is: what it waits for is a median-time-past on a chain no VTXO event reports. It is also the on-board's ONLY recourse, because on that leg we never funded the Arkade side and so have nothing to refund there — the sats are on L1, behind a leaf no counterparty signature reaches.

RefundSend = 3

A send swap's refund path opened and nobody else will push it.